mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
Don't warn about a null live range if the Value is a ConstantIntegral.
Otherwise, if you're in debugging mode, you get warnings for (apparently) every immediate constant in the function during reg. allocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
47b716483e
commit
eb8863db90
@ -98,7 +98,7 @@ void PhyRegAlloc::createIGNodeListsAndIGs() {
|
||||
if (HMI->first) {
|
||||
LiveRange *L = HMI->second; // get the LiveRange
|
||||
if (!L) {
|
||||
if (DEBUG_RA)
|
||||
if (DEBUG_RA && !isa<ConstantIntegral> (HMI->first))
|
||||
std::cerr << "\n**** ?!?WARNING: NULL LIVE RANGE FOUND FOR: "
|
||||
<< RAV(HMI->first) << "****\n";
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user