summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-08-09 11:28:01 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-08-09 11:28:01 +0000
commit6228aeda651dc1b8afe61254b3f966ea25d78559 (patch)
treeccdf0809e6415be72f31d1972995d45b671247b8 /llvm/lib/Analysis/TargetTransformInfo.cpp
parent5052771af344914dd68dc2e8000837b6a898a941 (diff)
downloadbcm5719-llvm-6228aeda651dc1b8afe61254b3f966ea25d78559.tar.gz
bcm5719-llvm-6228aeda651dc1b8afe61254b3f966ea25d78559.zip
[LSR / TTI / SystemZ] Eliminate TargetTransformInfo::isFoldableMemAccess()
isLegalAddressingMode() has recently gained the extra optional Instruction* parameter, and therefore it can now do the job that previously only isFoldableMemAccess() could do. The SystemZ implementation of isLegalAddressingMode() has gained the functionality of checking for offsets, which used to be done with isFoldableMemAccess(). The isFoldableMemAccess() hook has been removed everywhere. Review: Quentin Colombet, Ulrich Weigand https://reviews.llvm.org/D35933 llvm-svn: 310463
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
-rw-r--r--llvm/lib/Analysis/TargetTransformInfo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/TargetTransformInfo.cpp b/llvm/lib/Analysis/TargetTransformInfo.cpp
index 4ac327cecd1..6cb7952d796 100644
--- a/llvm/lib/Analysis/TargetTransformInfo.cpp
+++ b/llvm/lib/Analysis/TargetTransformInfo.cpp
@@ -189,11 +189,6 @@ bool TargetTransformInfo::LSRWithInstrQueries() const {
return TTIImpl->LSRWithInstrQueries();
}
-bool TargetTransformInfo::isFoldableMemAccessOffset(Instruction *I,
- int64_t Offset) const {
- return TTIImpl->isFoldableMemAccessOffset(I, Offset);
-}
-
bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const {
return TTIImpl->isTruncateFree(Ty1, Ty2);
}
OpenPOWER on IntegriCloud