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:
Brian Gaeke 2004-03-29 21:58:41 +00:00
parent 2fe0ac9ade
commit fd02378d3e
1 changed files with 1 additions and 1 deletions

View File

@ -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;