brintos

brintos / llvm-project-archived public Read only

0
0
Text · 924 B · 5eb54a4 Raw
41 lines · plain
1; RUN: llc < %s2; PR7483@G = external global i16		; <ptr> [#uses=1]4 5define void @OmNewObjHdr() {6entry:7	br i1 false, label %endif.4, label %then.08 9then.0:		; preds = %entry10	ret void11 12endif.4:		; preds = %entry13	br i1 false, label %else.3, label %shortcirc_next.314 15shortcirc_next.3:		; preds = %endif.416	ret void17 18else.3:		; preds = %endif.419	switch i32 0, label %endif.10 [20		 i32 5001, label %then.1021		 i32 -5008, label %then.1022	]23 24then.10:		; preds = %else.3, %else.325	%tmp.112 = load i16, ptr null		; <i16> [#uses=2]26	%tmp.113 = load i16, ptr @G		; <i16> [#uses=2]27	%tmp.114 = icmp ugt i16 %tmp.112, %tmp.113		; <i1> [#uses=1]28	%tmp.120 = icmp ult i16 %tmp.112, %tmp.113		; <i1> [#uses=1]29	%bothcond = and i1 %tmp.114, %tmp.120		; <i1> [#uses=1]30	br i1 %bothcond, label %else.4, label %then.1131 32then.11:		; preds = %then.1033	ret void34 35else.4:		; preds = %then.1036	ret void37 38endif.10:		; preds = %else.339	ret void40}41