From afb3bd9914fd39476630dcb521496cfbff7e12c9 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 1 Jul 2020 18:13:51 -0400 Subject: [PATCH] RegAllocGreedy: Use TargetInstrInfo already in the class --- llvm/lib/CodeGen/RegAllocGreedy.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp index 82d5a9f..41cf002 100644 --- a/llvm/lib/CodeGen/RegAllocGreedy.cpp +++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp @@ -3147,7 +3147,6 @@ void RAGreedy::reportNumberOfSplillsReloads(MachineLoop *L, unsigned &Reloads, } const MachineFrameInfo &MFI = MF->getFrameInfo(); - const TargetInstrInfo *TII = MF->getSubtarget().getInstrInfo(); int FI; for (MachineBasicBlock *MBB : L->getBlocks()) -- 2.7.4