diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 06:33:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 06:33:38 +0000 |
commit | a36acad67ddade353a79a6b1a7b43bfaa01e86e1 (patch) | |
tree | 2444a5bcc5fd5105496456c6c58e0f8219d0c34f /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 28edeb765bc64e1859f698daf84e5500bf86a84c (diff) | |
download | external_llvm-a36acad67ddade353a79a6b1a7b43bfaa01e86e1.zip external_llvm-a36acad67ddade353a79a6b1a7b43bfaa01e86e1.tar.gz external_llvm-a36acad67ddade353a79a6b1a7b43bfaa01e86e1.tar.bz2 |
Re-enable 102565 with fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7c4ad6d..b8ebe8a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -212,15 +212,12 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { SelectAllBasicBlocks(Fn); - FuncInfo->clear(); - - // If the first basic block in the function has live ins that need to be + // 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]; @@ -237,7 +234,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { // Release function-specific state. SDB and CurDAG are already cleared // at this point. FuncInfo->clear(); -#endif return true; } |