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