[PATCH] D158747: [NFC] Remove redundant code

Luke Drummond via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 03:20:09 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG232f0c9a9aa1: [NFC][AMDGPU] Remove redundant code (authored by tomatih, committed by ldrumm).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158747/new/

https://reviews.llvm.org/D158747

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp


Index: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -2896,7 +2896,6 @@
     = getBranchOpcode(static_cast<BranchPredicate>(Cond[0].getImm()));
 
   if (!FBB) {
-    Cond[1].isUndef();
     MachineInstr *CondBr =
       BuildMI(&MBB, DL, get(Opcode))
       .addMBB(TBB);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158747.553430.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230825/4355f53a/attachment.bin>


More information about the llvm-commits mailing list