Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs
[llvm-core.git] / test / CodeGen / ARM / ispositive.ll
blob3086d7983e168ff229db06b493d3a5e7fe8d755b
1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
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