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
7 # CHECK: *** Bad machine code: MBB exits via unconditional branch but the CFG successor doesn't match the actual successor! ***
10 name: verifier_pseudo_terminators
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
20 S_SETPC_B64_return undef $sgpr30_sgpr31
23 S_SETPC_B64_return undef $sgpr30_sgpr31