diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-08-09 11:28:01 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-08-09 11:28:01 +0000 |
commit | b7123745ed8d4923b2233a4810757f0e3934679f (patch) | |
tree | 2732b8d3daffb9ca9968753fa4ffbc7b7faae19b /lib/Analysis/TargetTransformInfo.cpp | |
parent | ae207e1d7d472b18279c096e4b6bfd3c75fd1171 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/TargetTransformInfo.cpp')
-rw-r--r-- | lib/Analysis/TargetTransformInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/TargetTransformInfo.cpp b/lib/Analysis/TargetTransformInfo.cpp index 4ac327cecd1..6cb7952d796 100644 --- a/lib/Analysis/TargetTransformInfo.cpp +++ b/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); } |