brintos

brintos / llvm-project-archived public Read only

0
0
Text · 851 B · 3213c98 Raw
25 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -O0 -mtriple=x86_64-unknown-linux-gnux32 | FileCheck %s3 4target datalayout = "e-m:e-p:32:32-i64:64-f80:128-n8:16:32:64-S128"5 6%struct.a = type { i8 }7 8define void @_Z1bv(ptr noalias sret(%struct.a) %agg.result) {9; CHECK-LABEL: _Z1bv:10; CHECK:       # %bb.0: # %entry11; CHECK-NEXT:    pushq %rax12; CHECK-NEXT:    .cfi_def_cfa_offset 1613; CHECK-NEXT:    # kill: def $edi killed $edi killed $rdi14; CHECK-NEXT:    movl %edi, %eax15; CHECK-NEXT:    movl %eax, {{[-0-9]+}}(%e{{[sb]}}p) # 4-byte Spill16; CHECK-NEXT:    callq _Z1bv@PLT17; CHECK-NEXT:    movl {{[-0-9]+}}(%e{{[sb]}}p), %eax # 4-byte Reload18; CHECK-NEXT:    popq %rcx19; CHECK-NEXT:    .cfi_def_cfa_offset 820; CHECK-NEXT:    retq21entry:22  call void @_Z1bv(ptr sret(%struct.a) %agg.result)23  ret void24}25