• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -O0 -run-pass=legalizer %s -o - | FileCheck %s
3
4--- |
5  target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
6  target triple = "aarch64--"
7  define void @test_copy() { ret void }
8  define void @test_targetspecific() { ret void }
9...
10
11---
12name:            test_copy
13registers:
14  - { id: 0, class: _ }
15body: |
16  bb.0:
17    liveins: $x0
18
19    ; CHECK-LABEL: name: test_copy
20    ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x0
21    ; CHECK: $x0 = COPY [[COPY]](s64)
22    %0(s64) = COPY $x0
23    $x0 = COPY %0
24...
25
26---
27name:            test_targetspecific
28body: |
29  bb.0:
30
31    ; CHECK-LABEL: name: test_targetspecific
32    ; CHECK: RET_ReallyLR
33    RET_ReallyLR
34...
35