1 # RUN: not --crash llc -march=amdgcn -run-pass=verify -o - %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 jump or conditional branch, but its target isn't a CFG successor! ***
8 # CHECK: *** Bad machine code: MBB has unexpected successors which are not branch targets, fallthrough, EHPads, or inlineasm_br targets. ***
11 name: verifier_pseudo_terminators
16 %0:sreg_64 = S_XOR_B64_term undef %1:sreg_64, undef %2:sreg_64, implicit-def $scc
17 $exec = S_MOV_B64_term %0
21 S_SETPC_B64_return undef $sgpr30_sgpr31
24 S_SETPC_B64_return undef $sgpr30_sgpr31