brintos

brintos / llvm-project-archived public Read only

0
0
Text · 476 B · 8690e9c Raw
21 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 6--- |7  define void @baz() { ret void }8...9 10---11name:            baz12registers:13  - { id: 0, class: _ }14body: |15  bb.0:16    liveins: $w017    ; ERR: generic virtual registers must have a type18    ; ERR-NEXT: %019    %0 = G_ADD i32 $w0, $w020...21