aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-10-21 14:19:52 -0400
committerSanjay Patel <spatel@rotateright.com>2020-10-21 14:26:05 -0400
commitc963bde0152a741d58b9e1e9ac485d8f2e6c6d58 (patch)
treeacdf396191e0c470df4d0859ae85d75a19a735ed /clang/lib/CodeGen/CodeGenModule.cpp
parent729610a51a4581ea923e6fb2ca1bfa7287022ec7 (diff)
downloadllvm-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