[llvm-commits] [llvm] r102590 - in /llvm/trunk/lib/CodeGen/SelectionDAG: SelectionDAGBuilder.cpp SelectionDAGISel.cpp
Evan Cheng
evan.cheng at apple.com
Wed Apr 28 20:34:19 PDT 2010
Author: evancheng
Date: Wed Apr 28 22:34:19 2010
New Revision: 102590
URL: http://llvm.org/viewvc/llvm-project?rev=102590&view=rev
Log:
Temporarily disable my changes to unbreak the build.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=102590&r1=102589&r2=102590&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Apr 28 22:34:19 2010
@@ -3896,11 +3896,15 @@
} else {
SDValue &N = NodeMap[V];
if (N.getNode()) {
+#if 0
if (!EmitFuncArgumentDbgValue(DI, V, Variable, Offset, N)) {
+#endif
SDV = DAG.getDbgValue(Variable, N.getNode(),
N.getResNo(), Offset, dl, SDNodeOrder);
DAG.AddDbgValue(SDV, N.getNode(), false);
+#if 0
}
+#endif
} else {
// We may expand this to cover more cases. One case where we have no
// data available is an unreferenced parameter; we need this fallback.
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=102590&r1=102589&r2=102590&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Apr 28 22:34:19 2010
@@ -212,12 +212,15 @@
SelectAllBasicBlocks(Fn);
+ FuncInfo->clear();
+
// If the first basic block in the function has live ins that need to be
// copied into vregs, emit the copies into the top of the block before
// emitting the code for the block.
MachineBasicBlock *EntryMBB = MF->begin();
RegInfo->EmitLiveInCopies(EntryMBB, TRI, TII);
+#if 0
// Insert DBG_VALUE instructions for function arguments to the entry block.
for (unsigned i = 0, e = FuncInfo->ArgDbgValues.size(); i != e; ++i) {
MachineInstr *MI = FuncInfo->ArgDbgValues[e-i-1];
@@ -234,6 +237,7 @@
// Release function-specific state. SDB and CurDAG are already cleared
// at this point.
FuncInfo->clear();
+#endif
return true;
}
More information about the llvm-commits
mailing list