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
Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs
[llvm-core.git]
/
test
/
CodeGen
/
ARM
/
ispositive.ll
blob
3086d7983e168ff229db06b493d3a5e7fe8d755b
1
; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3
define i32 @test1(i32 %X) {
4
; CHECK: lsr{{.*}}#31
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