diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-11 21:18:34 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-11 21:18:34 +0000 |
| commit | da4f0eb12c166649711b830a7e8d2ee4fdaa2626 (patch) | |
| tree | f67a3a8760b9e1fe87b7b9c7c1f2ec9014fa733a /llvm/lib/CodeGen/LiveIntervalUnion.h | |
| parent | d886f8cd8dd657116790ee692d92bd55bf8068ae (diff) | |
| download | bcm5719-llvm-da4f0eb12c166649711b830a7e8d2ee4fdaa2626.tar.gz bcm5719-llvm-da4f0eb12c166649711b830a7e8d2ee4fdaa2626.zip | |
Remove more dead code.
collectInterferingVRegs will be the primary function for interference
checks.
llvm-svn: 137354
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.h')
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervalUnion.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalUnion.h b/llvm/lib/CodeGen/LiveIntervalUnion.h index 7f494474f99..570ad94b77e 100644 --- a/llvm/lib/CodeGen/LiveIntervalUnion.h +++ b/llvm/lib/CodeGen/LiveIntervalUnion.h @@ -188,7 +188,7 @@ public: } // Does this live virtual register interfere with the union? - bool checkInterference() { return isInterference(firstInterference()); } + bool checkInterference() { return collectInterferingVRegs(1); } // Count the virtual registers in this union that interfere with this // query's live virtual register, up to maxInterferingRegs. @@ -218,17 +218,7 @@ public: // Private interface for queries const InterferenceResult &firstInterference(); - bool nextInterference(InterferenceResult &IR) const; void findIntersection(InterferenceResult &IR) const; - - bool isInterference(const InterferenceResult &IR) const { - if (IR.VirtRegI != VirtReg->end()) { - assert(overlap(*IR.VirtRegI, IR.LiveUnionI) && - "invalid segment iterators"); - return true; - } - return false; - } }; }; |

