22 lines · plain
1# RUN: not llc -mtriple=aarch64-apple-ios -run-pass none -o - %s 2>&1 \2# RUN: | FileCheck %s --check-prefix=ERR3# This test ensures that the MIR parser errors out when4# generic virtual register definitions are not correct.5# In that case, it is defined by a register bank.6 7--- |8 define void @bar() { ret void }9...10 11---12name: bar13registers:14 - { id: 0, class: gpr }15body: |16 bb.0:17 liveins: $w018 ; ERR: generic virtual registers must have a type19 ; ERR-NEXT: %020 %0 = G_ADD i32 $w0, $w021...22