1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple powerpc64-unknown-aix-xcoff -x mir \
3 # RUN: -stop-after=prologepilog --verify-machineinstrs < %s | \
4 # RUN: FileCheck %s --check-prefixes=CHECK
10 tracksRegLiveness: true
13 ; CHECK-LABEL: name: test_callee
15 ; CHECK-NEXT: BLR8 implicit $lr8, implicit $rm, implicit killed $x3
17 BLR8 implicit $lr8, implicit $rm, implicit killed $x3
21 tracksRegLiveness: true
23 - { id: 0, size: 32704, alignment: 8 }
26 ; CHECK-LABEL: name: test
27 ; CHECK: $x0 = MFLR8 implicit $lr8
28 ; CHECK-NEXT: STD killed $x0, 16, $x1
29 ; CHECK-NEXT: $x1 = STDU $x1, -32752, $x1
30 ; CHECK-NEXT: BL8 @test_callee, csr_ppc64, implicit-def dead $lr8, implicit $rm, implicit $x2, implicit-def $r1, implicit-def $x3
31 ; CHECK-NEXT: $x1 = ADDI8 $x1, 32752
32 ; CHECK-NEXT: $x0 = LD 16, $x1
33 ; CHECK-NEXT: MTLR8 $x0, implicit-def $lr8
34 ; CHECK-NEXT: BLR8 implicit $lr8, implicit $rm, implicit killed $x3
35 BL8 @test_callee, csr_ppc64, implicit-def dead $lr8, implicit $rm, implicit $x2, implicit-def $r1, implicit-def $x3
36 BLR8 implicit $lr8, implicit $rm, implicit $x3