[llvm-commits] [llvm] r107295 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Duncan Sands
baldrick at free.fr
Wed Jun 30 10:22:28 PDT 2010
Author: baldrick
Date: Wed Jun 30 12:22:28 2010
New Revision: 107295
URL: http://llvm.org/viewvc/llvm-project?rev=107295&view=rev
Log:
Remove an unused variable. The call to getRoot has side-effects, so
this could break something (but doesn't seem to).
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=107295&r1=107294&r2=107295&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Jun 30 12:22:28 2010
@@ -5899,7 +5899,6 @@
// If this is the entry block, emit arguments.
const Function &F = *LLVMBB->getParent();
SelectionDAG &DAG = SDB->DAG;
- SDValue OldRoot = DAG.getRoot();
DebugLoc dl = SDB->getCurDebugLoc();
const TargetData *TD = TLI.getTargetData();
SmallVector<ISD::InputArg, 16> Ins;
More information about the llvm-commits
mailing list