1# RUN: not --crash llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3
4--- |
5
6  target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
7  target triple = "aarch64--"
8  define void @test() { ret void }
9
10...
11---
12# CHECK: *** Bad machine code: Generic virtual register must have a bank in a RegBankSelected function ***
13# CHECK: instruction: %0:_(s64) = COPY
14# CHECK: operand 0: %0
15name:            test
16regBankSelected: true
17registers:
18  - { id: 0, class: _ }
19body: |
20  bb.0:
21   liveins: $x0
22   %0(s64) = COPY $x0
23...
24