diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-10-21 14:19:52 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-10-21 14:26:05 -0400 |
commit | c963bde0152a741d58b9e1e9ac485d8f2e6c6d58 (patch) | |
tree | acdf396191e0c470df4d0859ae85d75a19a735ed /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 729610a51a4581ea923e6fb2ca1bfa7287022ec7 (diff) | |
download | llvm-c963bde0152a741d58b9e1e9ac485d8f2e6c6d58.zip llvm-c963bde0152a741d58b9e1e9ac485d8f2e6c6d58.tar.gz llvm-c963bde0152a741d58b9e1e9ac485d8f2e6c6d58.tar.bz2 |
[CostModel] remove cost-kind predicate for scatter/gather cost
This is similar in spirit to 01ea93d85d6e (memcpy) except that
here the underlying caller assumptions were created for vectorizer
use (throughput) rather than other passes.
That meant ARM could have an enormous throughput cost with no
corresponding size, latency, or blended cost increase. X86 has
the same throughput restriction as the basic implementation, so
it is still unchanged.
Paraphrasing from the previous commit:
This may not make sense for some callers, but at least now the
costs will be consistently wrong instead of mysteriously wrong.
Targets should provide better overrides if the current modeling
is not accurate.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions