1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -mtriple=aarch64-linux-gnu -O0 -run-pass=legalizer %s -o - | FileCheck %s
3
4---
5name:            test_implicit_def
6registers:
7body: |
8  bb.0.entry:
9    liveins:
10
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...
19