diff options
author | Daniel Jasper <djasper@google.com> | 2017-10-13 14:04:21 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2017-10-13 14:04:21 +0000 |
commit | 3344a21236837f9920eca7439656a1127f937862 (patch) | |
tree | b20e3f9322e813469e7916eef940a98eca57180e /llvm/lib/Analysis/TargetTransformInfo.cpp | |
parent | 9a26a7ec331e01fdf2a9438eff10d901420c1c27 (diff) | |
download | bcm5719-llvm-3344a21236837f9920eca7439656a1127f937862.tar.gz bcm5719-llvm-3344a21236837f9920eca7439656a1127f937862.zip |
Revert r314923: "Recommit : Use the basic cost if a GEP is not used as addressing mode"
Significantly reduces performancei (~30%) of gipfeli
(https://github.com/google/gipfeli)
I have not yet managed to reproduce this regression with the open-source
version of the benchmark on github, but will work with others to get a
reproducer to you later today.
llvm-svn: 315680
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/TargetTransformInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/TargetTransformInfo.cpp b/llvm/lib/Analysis/TargetTransformInfo.cpp index 154021a51b9..fad918dabb5 100644 --- a/llvm/lib/Analysis/TargetTransformInfo.cpp +++ b/llvm/lib/Analysis/TargetTransformInfo.cpp @@ -88,11 +88,6 @@ int TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, return TTIImpl->getGEPCost(PointeeType, Ptr, Operands); } -int TargetTransformInfo::getGEPCost(const GEPOperator *GEP, - ArrayRef<const Value *> Operands) const { - return TTIImpl->getGEPCost(GEP, Operands); -} - int TargetTransformInfo::getExtCost(const Instruction *I, const Value *Src) const { return TTIImpl->getExtCost(I, Src); |