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.
8 define void @baz() { ret void }
18 ; ERR: generic virtual registers must have a type
20 %0 = G_ADD i32 $w0, $w0