projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Cleanup: Remove use of old "-enable-correct-eh-support" option from a test
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb
/
ispositive.ll
1
; RUN: llc < %s -march=thumb | FileCheck %s
2
3
define i32 @test1(i32 %X) {
4
entry:
5
; CHECK-LABEL: test1:
6
; CHECK: lsrs r0, r0, #31
7
icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
8
zext i1 %0 to i32 ; <i32>:1 [#uses=1]
9
ret i32 %1
10
}
11