[BranchRelaxation] Fix test for duplicate branch instruction
authorAnshil Gandhi <Anshil.Gandhi@amd.com>
Fri, 14 Oct 2022 17:56:07 +0000 (11:56 -0600)
committerAnshil Gandhi <Anshil.Gandhi@amd.com>
Fri, 14 Oct 2022 18:21:26 +0000 (12:21 -0600)
commit94ac8f3a8cf9d4101348f4f6589a71855cc5f78f
treedd095b24479bf05c60e77a4472158ed655612655
parent1783253c41f1b0ac378ab7fa4b6fe5547369c6b0
[BranchRelaxation] Fix test for duplicate branch instruction

This patch is a follow up for D134557, inserting a check
for a duplicate unconditional branch to fall through.

Differential Revision: https://reviews.llvm.org/D135975
llvm/test/CodeGen/AMDGPU/branch-relax-no-terminators.mir