xref: /llvm-project/llvm/test/CodeGen/PowerPC/GlobalISel/legalize-ret.mir (revision 009cd4e491033f57f547a7bda63e35b50a6e5cf7)
1# RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -global-isel -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
2
3---
4name:            test_simple
5body:             |
6  ; CHECK-LABEL: name: test_simple
7  ; CHECK: [[IN:%[0-9]+]]:_(s64) = COPY $x3
8  ; CHECK: $x3 = COPY [[IN]]
9  ; CHECK: BLR8 implicit $lr8, implicit $rm, implicit $x3
10  bb.1.entry:
11    liveins: $x3
12
13    %0:_(s64) = COPY $x3
14    $x3 = COPY %0(s64)
15    BLR8 implicit $lr8, implicit $rm, implicit $x3
16
17...
18