projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix a bug handling frame references in ppc inline asm when the frame offset
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
ispositive.ll
1
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
2
; RUN: grep {srwi r3, r3, 31}
3
4
define i32 @test1(i32 %X) {
5
entry:
6
icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
7
zext i1 %0 to i32 ; <i32>:1 [#uses=1]
8
ret i32 %1
9
}
10