]> granicus.if.org Git - llvm/commit
Revert r314923: "Recommit : Use the basic cost if a GEP is not used as addressing...
authorDaniel Jasper <djasper@google.com>
Fri, 13 Oct 2017 14:04:21 +0000 (14:04 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 13 Oct 2017 14:04:21 +0000 (14:04 +0000)
commite9712285e9e1c3cfd22b552eeab23b394e64e719
tree0c23bc2403a782364adaef81459b2bcb09455539
parenta0af046f39828a5797011f70c31bd36d8a2b19bb
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315680 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
include/llvm/IR/Operator.h
lib/Analysis/TargetTransformInfo.cpp
lib/Transforms/Scalar/NaryReassociate.cpp
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
test/Analysis/CostModel/AArch64/gep.ll
test/Analysis/CostModel/X86/vector_gep.ll
test/Transforms/SimplifyCFG/SpeculativeExecGepCE.ll [deleted file]