diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-10-20 01:26:58 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-10-20 01:26:58 +0000 |
commit | 7e831db1d4f5dc51ca6526739cf41e59895c5c20 (patch) | |
tree | de522bbd876174ac63c7244e00b82af47cabbf88 /lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 161dcbf79955ed11b6760fda59f1e203380d27c8 (diff) | |
download | external_llvm-7e831db1d4f5dc51ca6526739cf41e59895c5c20.zip external_llvm-7e831db1d4f5dc51ca6526739cf41e59895c5c20.tar.gz external_llvm-7e831db1d4f5dc51ca6526739cf41e59895c5c20.tar.bz2 |
Enable post-pass frame index register scavenging for ARM and Thumb2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | lib/CodeGen/PrologEpilogInserter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index 8a0b003..693bf05 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/lib/CodeGen/PrologEpilogInserter.cpp @@ -785,11 +785,6 @@ void PEI::scavengeFrameVirtualRegs(MachineFunction &Fn) { if (Reg == 0) continue; if (!TargetRegisterInfo::isVirtualRegister(Reg)) { - // If we have an active scavenged register, we shouldn't be - // seeing any references to it. - assert (Reg != CurrentScratchReg - && "overlapping use of scavenged frame index register!"); - // If we have a previous scratch reg, check and see if anything // here kills whatever value is in there. if (Reg == PrevScratchReg) { |