[llvm] r268931 - Fixed unused but set variable warning
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon May 9 09:42:23 PDT 2016
Author: rksimon
Date: Mon May 9 11:42:23 2016
New Revision: 268931
URL: http://llvm.org/viewvc/llvm-project?rev=268931&view=rev
Log:
Fixed unused but set variable warning
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp?rev=268931&r1=268930&r2=268931&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp Mon May 9 11:42:23 2016
@@ -1530,8 +1530,6 @@ bool AMDGPUDAGToDAGISel::SelectVOP3Mods0
}
void AMDGPUDAGToDAGISel::PreprocessISelDAG() {
- bool Modified = false;
-
MachineFrameInfo *MFI = CurDAG->getMachineFunction().getFrameInfo();
// Handle the perverse case where a frame index is being stored. We don't
@@ -1582,7 +1580,6 @@ void AMDGPUDAGToDAGISel::PreprocessISelD
}
CurDAG->UpdateNodeOperands(M, makeArrayRef(NewOps, OpN));
- Modified = true;
}
}
}
More information about the llvm-commits
mailing list