repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git]
/
test
/
CodeGen
/
PowerPC
/
compare-duplicate.ll
blob
80ce9dbfff1c829fc6f748fa98cd25996c83ca9d
1
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | 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
}