1; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3define i32 @test1(i32 %X) {
4; CHECK: lsr{{.*}}#31
5entry:
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
11