summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-02-11 23:41:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-02-11 23:41:57 +0000
commiteb5ec4a0db14948a06026d5a0be3cdb4f49ce590 (patch)
tree6ae07fc6e5106576a83fce7e9a3762d94f983462 /llvm/lib
parent4c1d41f2b1d51d63886d76ea0d1e5fffa1f7c68d (diff)
downloadbcm5719-llvm-eb5ec4a0db14948a06026d5a0be3cdb4f49ce590.tar.gz
bcm5719-llvm-eb5ec4a0db14948a06026d5a0be3cdb4f49ce590.zip
Remove a bogus assertion. It's possible a live-in available value is used by a previous instruction.
llvm-svn: 64339
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/VirtRegMap.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index 5a37738a2f6..1ff985151f1 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud