projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This is the patch to provide clean intrinsic function overloading support in LLVM...
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
compare-duplicate.ll
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
}