mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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
This commit is contained in:
@@ -214,7 +214,8 @@ LiveInterval::addRangeFrom(LiveRange LR, Ranges::iterator From) {
|
|||||||
// Check to make sure that we are not overlapping two live ranges with
|
// Check to make sure that we are not overlapping two live ranges with
|
||||||
// different ValId's.
|
// different ValId's.
|
||||||
assert(B->end <= Start &&
|
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?)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user