diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-02-11 23:41:57 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-02-11 23:41:57 +0000 |
commit | ce7f5a1e50fa312ce27e41030dd1b2e02ba8d604 (patch) | |
tree | 379101984666b644611668e56b1b571aae3d8e66 /lib/CodeGen/VirtRegMap.cpp | |
parent | 7b25467d062b46bd026c394e2bbc1124b4d12530 (diff) | |
download | external_llvm-ce7f5a1e50fa312ce27e41030dd1b2e02ba8d604.zip external_llvm-ce7f5a1e50fa312ce27e41030dd1b2e02ba8d604.tar.gz external_llvm-ce7f5a1e50fa312ce27e41030dd1b2e02ba8d604.tar.bz2 |
Remove a bogus assertion. It's possible a live-in available value is used by a previous instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r-- | lib/CodeGen/VirtRegMap.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index 5a37738..1ff9851 100644 --- a/lib/CodeGen/VirtRegMap.cpp +++ b/lib/CodeGen/VirtRegMap.cpp @@ -1344,8 +1344,6 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, VirtRegMap &VRM, int SSorRMId = DoReMat ? VRM.getReMatId(VirtReg) : VRM.getStackSlot(VirtReg); unsigned InReg = Spills.getSpillSlotOrReMatPhysReg(SSorRMId); - assert((!InReg || !RegKills[InReg]) && - "Restoring a value that's previously defined in the same BB?"); if (InReg == Phys) { // If the value is already available in the expected register, save // a reload / remat. |