summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-05 01:06:12 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-05 01:06:12 +0000
commit3dfd59bdc3ab1135961a3798b4f23e191a7dc953 (patch)
treeef3a4dec7a01d377d3451f454e91f15bf5db55c1 /include/llvm/CodeGen/LiveIntervalAnalysis.h
parente061053051a8eaafe020b2d0a81f9e4ee910c1d0 (diff)
downloadllvm-3dfd59bdc3ab1135961a3798b4f23e191a7dc953.tar.gz
llvm-3dfd59bdc3ab1135961a3798b4f23e191a7dc953.tar.bz2
llvm-3dfd59bdc3ab1135961a3798b4f23e191a7dc953.tar.xz
Stop using LiveIntervals::isReMaterializable().
It is an old function that does a lot more than required by CalcSpillWeights, which was the only remaining caller. The isRematerializable() function never actually sets the isLoad argument, so don't try to compute that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 39df32cf4b..ba5ab3ea71 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -178,6 +178,10 @@ namespace llvm {
return Indexes;
}
+ AliasAnalysis *getAliasAnalysis() const {
+ return AA;
+ }
+
/// isNotInMIMap - returns true if the specified machine instr has been
/// removed or was never entered in the map.
bool isNotInMIMap(const MachineInstr* Instr) const {