xref: /llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/observer-change-crash.mir (revision 48904e9452de81375bd55d830d08e51cc8f2ec7e)
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -mtriple aarch64 -run-pass=aarch64-prelegalizer-combiner %s -o - | FileCheck %s
3--- |
4  target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
5  target triple = "arm64-apple-ios5.0.0"
6
7  define void @test() {
8    ret void
9  }
10
11...
12---
13name:            test
14alignment:       4
15tracksRegLiveness: true
16registers:
17  - { id: 0, class: _ }
18  - { id: 1, class: _ }
19  - { id: 2, class: _ }
20frameInfo:
21  maxCallFrameSize: 0
22body:             |
23  bb.0:
24    ; CHECK-LABEL: name: test
25    ; CHECK: [[DEF:%[0-9]+]]:_(p0) = G_IMPLICIT_DEF
26    ; CHECK: $x0 = COPY [[DEF]](p0)
27    %0:_(p0) = G_IMPLICIT_DEF
28    %1:_(p0) = COPY %0(p0)
29    %2:_(p0) = COPY %1(p0)
30    $x0 = COPY %2(p0)
31
32...
33