From 2da44c31e36d41606702d66900a04dde72ba1a78 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 16 Jul 2015 16:13:34 +0000 Subject: [PATCH] AMDGPU/R600: Remove unused variable 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp b/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp index 9fa2bcd7eed..d918ac3a5b3 100644 --- a/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp +++ b/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp @@ -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;