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 | 8311befb6968a581a3abdce1e13b5d63922662f7 (patch) | |
tree | e9c90b7d54a083b76af30598cd2300f81cf3e82c /lib/CodeGen | |
parent | 5cc498f116cd76235c9c0a2ded46bc29f8fb35e0 (diff) | |
download | external_llvm-8311befb6968a581a3abdce1e13b5d63922662f7.zip external_llvm-8311befb6968a581a3abdce1e13b5d63922662f7.tar.gz external_llvm-8311befb6968a581a3abdce1e13b5d63922662f7.tar.bz2 |
Give a better message for a common assertion failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 174b483..8306116 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/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?)"); } } |