[llvm-commits] CVS: llvm/lib/CodeGen/LiveInterval.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Nov 15 22:52:50 PST 2004
Changes in directory llvm/lib/CodeGen:
LiveInterval.cpp updated: 1.13 -> 1.14
---
Log message:
Give a better message for a common assertion failure.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/CodeGen/LiveInterval.cpp
diff -u llvm/lib/CodeGen/LiveInterval.cpp:1.13 llvm/lib/CodeGen/LiveInterval.cpp:1.14
--- llvm/lib/CodeGen/LiveInterval.cpp:1.13 Mon Sep 27 21:38:58 2004
+++ llvm/lib/CodeGen/LiveInterval.cpp Tue Nov 16 00:52:35 2004
@@ -214,7 +214,8 @@
// Check to make sure that we are not overlapping two live ranges with
// different ValId's.
assert(B->end <= Start &&
- "Cannot overlap two LiveRanges with differing ValID's");
+ "Cannot overlap two LiveRanges with differing ValID's"
+ " (did you def the same reg twice in a MachineInstr?)");
}
}
More information about the llvm-commits
mailing list