1 # RUN: not --crash llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
6 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
7 target triple = "aarch64--"
8 define void @regbankselected_notrack() { ret void }
9 define void @regbankselected_track() { ret void }
14 name: regbankselected_notrack
16 tracksDebugUserValues: false
21 ; CHECK-NOT: function: regbankselected_notrack
22 DBG_VALUE %0(s64), $noreg, $noreg, $noreg, $noreg
26 name: regbankselected_track
28 tracksDebugUserValues: true
33 ; CHECK: *** Bad machine code: Generic virtual register must have a bank in a RegBankSelected function ***
34 ; CHECK: function: regbankselected_track
35 ; CHECK: instruction: DBG_VALUE %0:_
36 ; CHECK: operand 0: %0
37 DBG_VALUE %0(s64), $noreg, $noreg, $noreg, $noreg