aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-11-25 17:27:11 +0000
committerFlorian Hahn <flo@fhahn.com>2020-11-26 12:02:25 +0000
commit926681b6be701176f4f806e28932e8013fe4dec1 (patch)
treecd6d9a2db6fc1e4e1c0e0753246f456463da1e7b /clang/lib/Frontend/CompilerInvocation.cpp
parent45ba2392d7e00aedd4d9fb04070dbae8a7fbbeeb (diff)
downloadllvm-926681b6be701176f4f806e28932e8013fe4dec1.zip
llvm-926681b6be701176f4f806e28932e8013fe4dec1.tar.gz
llvm-926681b6be701176f4f806e28932e8013fe4dec1.tar.bz2
[CostModel] Add basic implementation of getGatherScatterOpCost.
Add a basic implementation of getGatherScatterOpCost to BasicTTIImpl. The implementation estimates the cost of scalarizing the loads/stores, the cost of packing/extracting the individual lanes and the cost of only selecting enabled lanes. This more accurately reflects the current cost on targets like AArch64. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D91984
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions