brintos

brintos / llvm-project-archived public Read only

0
0
Text · 456 B · 4129546 Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- | FileCheck %s3 4define i32 @test1(i32 %X) {5; CHECK-LABEL: test1:6; CHECK:       # %bb.0: # %entry7; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax8; CHECK-NEXT:    shrl $31, %eax9; CHECK-NEXT:    retl10entry:11        icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]12        zext i1 %0 to i32               ; <i32>:1 [#uses=1]13        ret i32 %114}15 16