[llvm] r242412 - AMDGPU/R600: Remove unused variable
Tom Stellard
thomas.stellard at amd.com
Thu Jul 16 09:13:34 PDT 2015
Author: tstellar
Date: Thu Jul 16 11:13:34 2015
New Revision: 242412
URL: http://llvm.org/viewvc/llvm-project?rev=242412&view=rev
Log:
AMDGPU/R600: Remove unused variable
This fixes a warning introduced by r242410.
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp?rev=242412&r1=242411&r2=242412&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp Thu Jul 16 11:13:34 2015
@@ -1719,7 +1719,6 @@ MachineBasicBlock *
AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) {
MachineBasicBlock *LoopHeader = LoopRep->getHeader();
MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch();
- const TargetRegisterClass * I32RC = TRI->getCFGStructurizerRegClass(MVT::i32);
if (!LoopHeader || !LoopLatch)
return nullptr;
More information about the llvm-commits
mailing list