Commit 232f0c9a authored by Mateusz Hurnik's avatar Mateusz Hurnik Committed by Luke Drummond
Browse files

[NFC][AMDGPU] Remove redundant code

As the result of this constant function is unused it is redundant.

Reviewed by: arsenm
Differential Revision: https://reviews.llvm.org/D158747
parent 00d19664
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2896,7 +2896,6 @@ unsigned SIInstrInfo::insertBranch(MachineBasicBlock &MBB,
    = getBranchOpcode(static_cast<BranchPredicate>(Cond[0].getImm()));

  if (!FBB) {
    Cond[1].isUndef();
    MachineInstr *CondBr =
      BuildMI(&MBB, DL, get(Opcode))
      .addMBB(TBB);