diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-11-16 06:52:35 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-11-16 06:52:35 +0000 |
commit | a057cd24015c915502596be9c13175cb200ee228 (patch) | |
tree | 212ebfe1731bd1eedb56d0e6fd768571a9765bd9 /llvm/lib/CodeGen/LiveInterval.cpp | |
parent | f0173e0c48f4def2c7a794efe28ec1d10c272374 (diff) | |
download | bcm5719-llvm-a057cd24015c915502596be9c13175cb200ee228.tar.gz bcm5719-llvm-a057cd24015c915502596be9c13175cb200ee228.zip |
Give a better message for a common assertion failure.
llvm-svn: 17887
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 174b4830d01..8306116b1a8 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/lib/CodeGen/LiveInterval.cpp @@ -214,7 +214,8 @@ LiveInterval::addRangeFrom(LiveRange LR, Ranges::iterator From) { // 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?)"); } } |