1*9880d681SAndroid Build Coastguard Worker# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker# This test ensures that the MIR parser runs the machine verifier after parsing. 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker--- | 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker define i32 @inc(i32 %a) { 7*9880d681SAndroid Build Coastguard Worker entry: 8*9880d681SAndroid Build Coastguard Worker ret i32 %a 9*9880d681SAndroid Build Coastguard Worker } 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker... 12*9880d681SAndroid Build Coastguard Worker--- 13*9880d681SAndroid Build Coastguard Workername: inc 14*9880d681SAndroid Build Coastguard Workerbody: | 15*9880d681SAndroid Build Coastguard Worker bb.0.entry: 16*9880d681SAndroid Build Coastguard Worker liveins: %edi 17*9880d681SAndroid Build Coastguard Worker ; CHECK: *** Bad machine code: Too few operands *** 18*9880d681SAndroid Build Coastguard Worker ; CHECK: instruction: COPY 19*9880d681SAndroid Build Coastguard Worker ; CHECK: 2 operands expected, but 0 given. 20*9880d681SAndroid Build Coastguard Worker COPY 21*9880d681SAndroid Build Coastguard Worker RETQ 22*9880d681SAndroid Build Coastguard Worker... 23