From: Brian Gaeke Date: Mon, 29 Mar 2004 21:58:41 +0000 (+0000) Subject: Don't warn about a null live range if the Value is a ConstantIntegral. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eb8863db909e1a8383c849c3de23eefa0a1c23b7;p=oota-llvm.git 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 --- diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 15243311764..51a6f8b89e5 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -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 (HMI->first)) std::cerr << "\n**** ?!?WARNING: NULL LIVE RANGE FOUND FOR: " << RAV(HMI->first) << "****\n"; continue;