brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 3487415 Raw
39 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple powerpc64-unknown-aix-xcoff -x mir \3# RUN: -stop-after=prologepilog --verify-machineinstrs < %s | \4# RUN: FileCheck %s --check-prefixes=CHECK5 6---7name:            test_callee8frameInfo:9  hasCalls:        true10tracksRegLiveness: true11body: |12  bb.0:13    ; CHECK-LABEL: name: test_callee14    ; CHECK: $x3 = LI8 1015    ; CHECK-NEXT: BLR8 implicit $lr8, implicit $rm, implicit killed $x316    $x3 = LI8 1017    BLR8 implicit $lr8, implicit $rm, implicit killed $x318...19---20name:            test21tracksRegLiveness: true22stack:23  - { id: 0, size: 32704, alignment: 8 }24body: |25  bb.0:26    ; CHECK-LABEL: name: test27    ; CHECK: $x0 = MFLR8 implicit $lr828    ; CHECK-NEXT: STD killed $x0, 16, $x129    ; CHECK-NEXT: $x1 = STDU $x1, -32752, $x130    ; CHECK-NEXT: BL8 @test_callee, csr_ppc64_r2, implicit-def dead $lr8, implicit $rm, implicit-def $r1, implicit-def $x331    ; CHECK-NEXT: $x1 = ADDI8 $x1, 3275232    ; CHECK-NEXT: $x0 = LD 16, $x133    ; CHECK-NEXT: MTLR8 $x0, implicit-def $lr834    ; CHECK-NEXT: BLR8 implicit $lr8, implicit $rm, implicit killed $x335    BL8 @test_callee, csr_ppc64_r2, implicit-def dead $lr8, implicit $rm, implicit-def $r1, implicit-def $x336    BLR8 implicit $lr8, implicit $rm, implicit $x337...38 39