1# RUN: llc -mtriple=aarch64 -run-pass=regbankselect -o - %s | FileCheck %s
2---
3name:            test_large_merge
4legalized:       true
5registers:
6body: |
7  bb.0.entry:
8    liveins: $x0, $x1, $x2
9
10    ; CHECK-LABEL: name: test_large_merge
11    ; CHECK: registers:
12    ; CHECK:       - { id: 0, class: gpr
13    ; CHECK:       - { id: 1, class: gpr
14    ; CHECK:       - { id: 2, class: gpr
15    ; CHECK:       - { id: 3, class: fpr
16    %0:_(s64) = COPY $x0
17    %1:_(s64) = COPY $x1
18    %2:_(p0) = COPY $x2
19    %3:_(s128) = G_MERGE_VALUES %0, %1
20    %4:_(s64) = G_TRUNC %3
21    $d0 = COPY %4
22...
23