diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-03-29 21:58:41 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-03-29 21:58:41 +0000 |
commit | eb8863db909e1a8383c849c3de23eefa0a1c23b7 (patch) | |
tree | ecb4f33bdaf38ed8b72e230ad49969ef498b6340 /lib/Target/SparcV9/RegAlloc | |
parent | 47b716483ef2d057c8a0015af20685755e606d0d (diff) | |
download | external_llvm-eb8863db909e1a8383c849c3de23eefa0a1c23b7.zip external_llvm-eb8863db909e1a8383c849c3de23eefa0a1c23b7.tar.gz external_llvm-eb8863db909e1a8383c849c3de23eefa0a1c23b7.tar.bz2 |
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
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 1524331..51a6f8b 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<ConstantIntegral> (HMI->first)) std::cerr << "\n**** ?!?WARNING: NULL LIVE RANGE FOUND FOR: " << RAV(HMI->first) << "****\n"; continue; |