1 # RUN: not llc -mtriple=aarch64-apple-ios -run-pass none -o - %s 2>&1 \
2 # RUN: | FileCheck %s --check-prefix=ERR
3 # This test ensures that the MIR parser errors out when
4 # generic virtual register definitions are not correct.
5 # In that case, it is defined by a register bank.
8 define void @bar() { ret void }
14 - { id: 0, class: gpr }
18 ; ERR: generic virtual registers must have a type
20 %0 = G_ADD i32 $w0, $w0