[PATCH] D22801: LiveIntervals: add removeRegUnit
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 17 02:42:56 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL278920: LiveIntervals: add removeRegUnit (authored by nha).
Changed prior to commit:
https://reviews.llvm.org/D22801?vs=65491&id=68325#toc
Repository:
rL LLVM
https://reviews.llvm.org/D22801
Files:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Index: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
===================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -392,6 +392,13 @@
return RegUnitRanges[Unit];
}
+ /// removeRegUnit - Remove computed live range for Unit. Subsequent uses
+ /// should rely on on-demand recomputation.
+ void removeRegUnit(unsigned Unit) {
+ delete RegUnitRanges[Unit];
+ RegUnitRanges[Unit] = nullptr;
+ }
+
/// Remove value numbers and related live segments starting at position
/// @p Pos that are part of any liverange of physical register @p Reg or one
/// of its subregisters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22801.68325.patch
Type: text/x-patch
Size: 752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160817/8b1e30a8/attachment.bin>
More information about the llvm-commits
mailing list