brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 314f41f Raw
31 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -O0 -no-integrated-as -verify-machineinstrs | FileCheck %s3; PR75094target triple = "i386-apple-darwin10"5%asmtype = type { i32, ptr, i32, i32 }6 7; Arguments 1 and 4 must be the same. No other output arguments may be8; allocated %eax.9 10define i32 @func(ptr %s) nounwind ssp {11; CHECK-LABEL: func:12; CHECK:       ## %bb.0: ## %entry13; CHECK-NEXT:    pushl %esi14; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %ecx15; CHECK-NEXT:    ## InlineAsm Start16; CHECK-NEXT:    arg0 %eax17; CHECK-NEXT:    arg1 %ecx18; CHECK-NEXT:    arg2 %edx19; CHECK-NEXT:    arg3 %esi20; CHECK-NEXT:    arg4 %ecx21; CHECK-NEXT:    ## InlineAsm End22; CHECK-NEXT:    popl %esi23; CHECK-NEXT:    retl24entry:25  %0 = tail call %asmtype asm "arg0 $0\0A\09arg1 $1\0A\09arg2 $2\0A\09arg3 $3\0A\09arg4 $4", "={ax},=r,=r,=r,1,~{dirflag},~{fpsr},~{flags}"(ptr %s) nounwind, !srcloc !0 ; <%0> [#uses=1]26  %asmresult = extractvalue %asmtype %0, 0              ; <i64> [#uses=1]27  ret i32 %asmresult28}29 30!0 = !{i32 108}31