24 lines · plain
1# RUN: not --crash llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that the VerifyInstrumentation works for machine function.3 4--- |5 6 define i32 @inc(i32 %a) {7 entry:8 ret i32 %a9 }10 11...12---13name: inc14tracksRegLiveness: true15body: |16 bb.0.entry:17 liveins: $edi18 ; CHECK: *** Bad machine code: Too few operands ***19 ; CHECK: instruction: COPY20 ; CHECK: 2 operands expected, but 0 given.21 COPY22 RET6423...24