1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
4 define i32 @test1(i32 %X) {
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: shrl $31, %eax
11 icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
12 zext i1 %0 to i32 ; <i32>:1 [#uses=1]