repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
PowerPC
/
compare-duplicate.ll
blob
df2dfdc17b643114900315cdb44fa9a5a77dc4cd
1
; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin8 | not grep slwi
2
3
define i32 @test(i32 %A, i32 %B) {
4
%C = sub i32 %B, %A
5
%D = icmp eq i32 %C, %A
6
br i1 %D, label %T, label %F
7
T:
8
ret i32 19123
9
F:
10
ret i32 %C
11
}