comparison test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children 54457678186b
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: opt < %s -instcombine -simplifycfg -S | not grep br
2
3 @.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2]
4
5 define i32 @test() {
6 %tmp.54 = load i8* getelementptr ([6 x i8]* @.str_1, i64 0, i64 1) ; <i8> [#uses=1]
7 %tmp.55 = icmp ne i8 %tmp.54, 66 ; <i1> [#uses=1]
8 br i1 %tmp.55, label %then.7, label %endif.7
9
10 then.7: ; preds = %then.7, %0
11 br label %then.7
12
13 endif.7: ; preds = %0
14 ret i32 0
15 }
16