brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 3b5b4e6 Raw
43 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple i386-unknown-linux-gnu < %s | FileCheck %s3 4; Previously, a reference to SIL/DIL was being emitted5; but those aren't available unless on a 64bit mode6 7define void @t1(i8 signext %c) {8; CHECK-LABEL: t1:9; CHECK:       # %bb.0: # %entry10; CHECK-NEXT:    pushl %edi11; CHECK-NEXT:    .cfi_def_cfa_offset 812; CHECK-NEXT:    .cfi_offset %edi, -813; CHECK-NEXT:    movzbl {{[0-9]+}}(%esp), %edi14; CHECK-NEXT:    # kill: def $di killed $di killed $edi15; CHECK-NEXT:    #APP16; CHECK-NEXT:    #NO_APP17; CHECK-NEXT:    popl %edi18; CHECK-NEXT:    .cfi_def_cfa_offset 419; CHECK-NEXT:    retl20entry:21  tail call void asm sideeffect "", "{di},~{dirflag},~{fpsr},~{flags}"(i8 %c)22  ret void23}24 25define void @t2(i8 signext %c) {26; CHECK-LABEL: t2:27; CHECK:       # %bb.0: # %entry28; CHECK-NEXT:    pushl %esi29; CHECK-NEXT:    .cfi_def_cfa_offset 830; CHECK-NEXT:    .cfi_offset %esi, -831; CHECK-NEXT:    movzbl {{[0-9]+}}(%esp), %esi32; CHECK-NEXT:    # kill: def $si killed $si killed $esi33; CHECK-NEXT:    #APP34; CHECK-NEXT:    #NO_APP35; CHECK-NEXT:    popl %esi36; CHECK-NEXT:    .cfi_def_cfa_offset 437; CHECK-NEXT:    retl38entry:39  tail call void asm sideeffect "", "{si},~{dirflag},~{fpsr},~{flags}"(i8 %c)40  ret void41}42 43