brintos

brintos / llvm-project-archived public Read only

0
0
Text · 645 B · 80972ec Raw
24 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc < %s -mtriple=x86_64 | FileCheck %s3; RUN: llc < %s -mtriple=x86_64 -mattr=+egpr | FileCheck %s --check-prefix=EGPR4 5define coldcc i32 @foo() nounwind {6; CHECK-LABEL: foo:7; CHECK:       # %bb.0:8; CHECK-NEXT:    pushq %rax9; CHECK-NEXT:    callq bar@PLT10; CHECK-NEXT:    addq $8, %rsp11; CHECK-NEXT:    retq12;13; EGPR-LABEL: foo:14; EGPR:       # %bb.0:15; EGPR-NEXT:    pushq %rax16; EGPR-NEXT:    callq bar@PLT17; EGPR-NEXT:    popq %r1618; EGPR-NEXT:    retq19  %1 = tail call coldcc i32 @bar()20  ret i32 %121}22 23declare coldcc i32 @bar()24