mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 14:06:36 +00:00
Give a better message for a common assertion failure.
llvm-svn: 17887
This commit is contained in:
parent
e64ca0563a
commit
23b56332bc
@ -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?)");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user