projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
1. IMPLICIT_DEF can *re-define* any register.
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
ispositive.ll
1
; RUN: llvm-as < %s | llc -march=arm | grep {mov r0, r0, lsr #31}
2
; RUN: llvm-as < %s | llc -march=thumb | grep {lsr r0, r0, #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