[llvm-commits] [llvm] r106428 - /llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp

Chris Lattner sabre at nondot.org
Mon Jun 21 10:20:18 PDT 2010


Author: lattner
Date: Mon Jun 21 12:20:18 2010
New Revision: 106428

URL: http://llvm.org/viewvc/llvm-project?rev=106428&view=rev
Log:
remove some dead variables reported by clang++

Modified:
    llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp

Modified: llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp?rev=106428&r1=106427&r2=106428&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp Mon Jun 21 12:20:18 2010
@@ -1803,8 +1803,6 @@
 
   if (EltsFromV2 == 1 && monotonic) {
     // Compute mask and shuffle
-    MachineFunction &MF = DAG.getMachineFunction();
-    MachineRegisterInfo &RegInfo = MF.getRegInfo();
     EVT PtrVT = DAG.getTargetLoweringInfo().getPointerTy();
 
     // As SHUFFLE_MASK becomes a c?d instruction, feed it an address





More information about the llvm-commits mailing list