[PowerPC] Recommit r314244 with refactoring and off by default
[llvm-core.git] / test / CodeGen / AArch64 / GlobalISel / legalize-undef.mir
blob6342fe373efd84d37219f9e0dcb794be7a9ca15b
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-linux-gnu -O0 -run-pass=legalizer -global-isel %s -o - | FileCheck %s
4 ---
5 name:            test_implicit_def
6 registers:
7 body: |
8   bb.0.entry:
9     liveins:
11     ; CHECK-LABEL: name: test_implicit_def
12     ; CHECK: [[DEF:%[0-9]+]]:_(s64) = G_IMPLICIT_DEF
13     ; CHECK: [[DEF1:%[0-9]+]]:_(s64) = G_IMPLICIT_DEF
14     ; CHECK: [[MV:%[0-9]+]]:_(s128) = G_MERGE_VALUES [[DEF]](s64), [[DEF1]](s64)
15     %0:_(s128) = G_IMPLICIT_DEF
16     %1:_(s64) = G_TRUNC %0
17     %x0 = COPY %1
18 ...