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 @selected_notrack() { ret void }
9 define void @selected_track() { ret void }
14 name: selected_notrack
17 tracksDebugUserValues: false
22 ; CHECK-NOT: function: selected_notrack
23 DBG_VALUE %0, $noreg, $noreg, $noreg, $noreg
30 tracksDebugUserValues: true
35 ; CHECK: *** Bad machine code: Generic virtual register invalid in a Selected function ***
36 ; CHECK: function: selected_track
37 ; CHECK: instruction: DBG_VALUE %0:_
38 ; CHECK: operand 0: %0
39 DBG_VALUE %0, $noreg, $noreg, $noreg, $noreg