Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/bt.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
34:e874dbf0ad9d | 77:54457678186b |
---|---|
18 ; - The and can be commuted. | 18 ; - The and can be commuted. |
19 | 19 |
20 define void @test2(i32 %x, i32 %n) nounwind { | 20 define void @test2(i32 %x, i32 %n) nounwind { |
21 entry: | 21 entry: |
22 ; CHECK: test2 | 22 ; CHECK: test2 |
23 ; CHECK: btl %eax, %ecx | 23 ; CHECK: btl %ecx, %eax |
24 ; CHECK: jb | 24 ; CHECK: jb |
25 %tmp29 = lshr i32 %x, %n ; <i32> [#uses=1] | 25 %tmp29 = lshr i32 %x, %n ; <i32> [#uses=1] |
26 %tmp3 = and i32 %tmp29, 1 ; <i32> [#uses=1] | 26 %tmp3 = and i32 %tmp29, 1 ; <i32> [#uses=1] |
27 %tmp4 = icmp eq i32 %tmp3, 0 ; <i1> [#uses=1] | 27 %tmp4 = icmp eq i32 %tmp3, 0 ; <i1> [#uses=1] |
28 br i1 %tmp4, label %bb, label %UnifiedReturnBlock | 28 br i1 %tmp4, label %bb, label %UnifiedReturnBlock |