From eb8863db909e1a8383c849c3de23eefa0a1c23b7 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Mon, 29 Mar 2004 21:58:41 +0000 Subject: [PATCH] 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 --- lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1