OSDN Git Service

Delete a redundant variable.
authorDan Gohman <gohman@apple.com>
Sat, 1 Aug 2009 04:18:29 +0000 (04:18 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 1 Aug 2009 04:18:29 +0000 (04:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77774 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index bd26478..622aa7c 100644 (file)
@@ -309,7 +309,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
   // Get alias analysis for load/store combining.
   AA = &getAnalysis<AliasAnalysis>();
 
-  TargetMachine &TM = TLI.getTargetMachine();
   MF = &mf;
   const TargetInstrInfo &TII = *TM.getInstrInfo();
   const TargetRegisterInfo &TRI = *TM.getRegisterInfo();