OSDN Git Service

remove some dead variables reported by clang++
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jun 2010 17:20:18 +0000 (17:20 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jun 2010 17:20:18 +0000 (17:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106428 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CellSPU/SPUISelLowering.cpp

index ba281cd..974b91c 100644 (file)
@@ -1803,8 +1803,6 @@ static SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) {
 
   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