diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-15 05:16:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-15 05:16:30 +0000 |
commit | df8412c4c1a3a798c5a849ebc3f56904568d40c4 (patch) | |
tree | 349601307df5ef868ff57e27c53f0a9c9e22b086 /include | |
parent | de07abe35de24e551783ee20a4213729b3524baa (diff) | |
download | external_llvm-df8412c4c1a3a798c5a849ebc3f56904568d40c4.zip external_llvm-df8412c4c1a3a798c5a849ebc3f56904568d40c4.tar.gz external_llvm-df8412c4c1a3a798c5a849ebc3f56904568d40c4.tar.bz2 |
Stop verifying hasPHIKill() flags.
There is only one legitimate use remaining, in addIntervalsForSpills().
All other calls to hasPHIKill() are only used to update PHIKill flags.
The addIntervalsForSpills() function is part of the old spilling
framework, only used by linearscan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 2df2edd..d637caf 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -100,6 +100,7 @@ namespace llvm { bool isDefByCopy() const { return copy != 0; } /// Returns true if one or more kills are PHI nodes. + /// Obsolete, do not use! bool hasPHIKill() const { return flags & HAS_PHI_KILL; } /// Set the PHI kill flag on this value. void setHasPHIKill(bool hasKill) { |