llvm.org GIT mirror llvm / 35fbae2
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37245 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc | not grep slwi
1
2 define i32 @test(i32 %A, i32 %B) {
3 %C = sub i32 %B, %A
4 %D = icmp eq i32 %C, %A
5 br i1 %D, label %T, label %F
6 T:
7 ret i32 19123
8 F:
9 ret i32 %C
10 }