[llvm] 309357c - [AMDGPU] Remove unused declaration eliminateDeadBranchOperands (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 20:33:45 PDT 2021


Author: Kazu Hirata
Date: 2021-10-28T20:33:30-07:00
New Revision: 309357c01ad8aa1e7acf8d74d8310a6f204a7688

URL: https://github.com/llvm/llvm-project/commit/309357c01ad8aa1e7acf8d74d8310a6f204a7688
DIFF: https://github.com/llvm/llvm-project/commit/309357c01ad8aa1e7acf8d74d8310a6f204a7688.diff

LOG: [AMDGPU] Remove unused declaration eliminateDeadBranchOperands (NFC)

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp b/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
index f78a3eaca1c67..8c0c86dcaea98 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
@@ -1125,8 +1125,6 @@ class AMDGPUMachineCFGStructurizer : public MachineFunctionPass {
 
   void transformSimpleIfRegion(RegionMRT *Region);
 
-  void eliminateDeadBranchOperands(MachineBasicBlock::instr_iterator &II);
-
   void insertUnconditionalBranch(MachineBasicBlock *MBB,
                                  MachineBasicBlock *Dest,
                                  const DebugLoc &DL = DebugLoc());


        


More information about the llvm-commits mailing list