1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # This test ensures that the MIR parser reports an error when parsing a
3 # reference to an undefined virtual register.
7 define i32 @test(i32 %a) {
15 tracksRegLiveness: true
17 - { id: 0, class: gr32 }
21 ; CHECK: Cannot determine class/bank of virtual register 1 in function 'test'