brintos

brintos / llvm-project-archived public Read only

0
0
Text · 917 B · 20b5ce4 Raw
32 lines · plain
1; RUN: llc -verify-machineinstrs < %s2; REQUIRES: default_triple3 4	%struct..0anon = type { i32 }5	%struct.rtx_def = type { i16, i8, i8, [1 x %struct..0anon] }6 7define fastcc void @immed_double_const(i32 %i0, i32 %i1) {8entry:9	%tmp1 = load i32, ptr null		; <i32> [#uses=1]10	switch i32 %tmp1, label %bb103 [11		 i32 1, label %bb12		 i32 3, label %bb13	]14bb:		; preds = %entry, %entry15	%tmp14 = icmp sgt i32 0, 31		; <i1> [#uses=1]16	br i1 %tmp14, label %cond_next77, label %cond_next1717cond_next17:		; preds = %bb18	ret void19cond_next77:		; preds = %bb20	%tmp79.not = icmp ne i32 %i1, 0		; <i1> [#uses=1]21	%tmp84 = icmp slt i32 %i0, 0		; <i1> [#uses=2]22	%bothcond1 = or i1 %tmp79.not, %tmp84		; <i1> [#uses=1]23	br i1 %bothcond1, label %bb88, label %bb9924bb88:		; preds = %cond_next7725	%bothcond2 = and i1 false, %tmp84		; <i1> [#uses=0]26	ret void27bb99:		; preds = %cond_next7728	ret void29bb103:		; preds = %entry30	ret void31}32