diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-10 22:25:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-10 22:25:21 +0000 |
commit | 4e996de58cfad27033165d8feb8f296b8cbe20ca (patch) | |
tree | 702f957a0860969b01d0051163e38eb51c9cd5ef /include/llvm/CodeGen/LiveInterval.h | |
parent | 1f523dc45e29874bf8101e50b42ba707ffc8aff9 (diff) |
Teach the LiveInterval::join function to use the fast merge algorithm,
generalizing its implementation sufficiently to support this value
number scenario as well.
This cuts out another significant performance hit in large functions
(over 10k basic blocks, etc), especially those with "natural" CFG
structures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 83a3b43876..3fe7c8d58c 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -505,7 +505,7 @@ namespace llvm { Ranges::iterator extendIntervalStartTo(Ranges::iterator I, SlotIndex NewStr); void markValNoForDeletion(VNInfo *V); void mergeIntervalRanges(const LiveInterval &RHS, - VNInfo *LHSValNo, + VNInfo *LHSValNo = 0, const VNInfo *RHSValNo = 0); LiveInterval& operator=(const LiveInterval& rhs); // DO NOT IMPLEMENT |