23 lines · plain
1# RUN: not --crash llc -mtriple=aarch64 -o /dev/null -run-pass=none %s 2>&1 | FileCheck %s --implicit-check-not="Bad machine code"2# REQUIRES: aarch64-registered-target3 4# Since we abort after reporting the first error, we should only expect one error to be reported.5# CHECK: *** Bad machine code: Generic virtual register use cannot be undef ***6# CHECK: Found 1 machine code errors.7 8---9name: foo10liveins:11body: |12 bb.0:13 $x0 = COPY undef %0:_(s64)14...15 16---17name: bar18liveins:19body: |20 bb.0:21 $x0 = COPY undef %0:_(s64)22...23