[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / MachineVerifier / verifier-pseudo-terminators.mir
blobb501aacf9673729fb7c52eb0d5ac32111c73f7d2
1 # RUN: not llc -march=amdgcn -run-pass=verify %s 2>&1 | FileCheck %s
2 # REQUIRES: amdgpu-registered-target
4 # Make sure that mismatched successors are caught when a _term
5 # instruction is used
7 # CHECK: *** Bad machine code: MBB exits via unconditional branch but the CFG successor doesn't match the actual successor! ***
9 ---
10 name: verifier_pseudo_terminators
11 body:             |
12   bb.0:
13     successors: %bb.1
15     %0:sreg_64 = S_XOR_B64_term undef %1:sreg_64, undef %2:sreg_64, implicit-def $scc
16     $exec = S_MOV_B64_term %0
17     S_BRANCH %bb.2
19   bb.1:
20     S_SETPC_B64_return undef $sgpr30_sgpr31
22   bb.2:
23     S_SETPC_B64_return undef $sgpr30_sgpr31
25 ...