AMDGPU/R600: Remove unused variable
authorTom Stellard <thomas.stellard@amd.com>
Thu, 16 Jul 2015 16:13:34 +0000 (16:13 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 16 Jul 2015 16:13:34 +0000 (16:13 +0000)
This fixes a warning introduced by r242410.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242412 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AMDGPU/AMDILCFGStructurizer.cpp

index 9fa2bcd7eedabd07dacbb408319001ddcc77b278..d918ac3a5b3b8b3bcc0b09c2b479d51f5df605b8 100644 (file)
@@ -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;