forked from OSchip/llvm-project
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. llvm-svn: 12538
This commit is contained in:
parent
2fe0ac9ade
commit
fd02378d3e
|
@ -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…
Reference in New Issue