diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 03:34:19 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 03:34:19 +0000 |
commit | 16e4ace95196c2b34246746b7481a8de3d715c19 (patch) | |
tree | cf3d77073cc16c1504a0111f07778778b4ff787e /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 9e8a2b93465bc8abd9b318faebb256b1c168baa9 (diff) | |
download | external_llvm-16e4ace95196c2b34246746b7481a8de3d715c19.zip external_llvm-16e4ace95196c2b34246746b7481a8de3d715c19.tar.gz external_llvm-16e4ace95196c2b34246746b7481a8de3d715c19.tar.bz2 |
Temporarily disable my changes to unbreak the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index adb321d..7c4ad6d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -212,12 +212,15 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { 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 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { // Release function-specific state. SDB and CurDAG are already cleared // at this point. FuncInfo->clear(); +#endif return true; } |