[all-commits] [llvm/llvm-project] a39d2d: [ARM] Increase the Scalarized cost of masked gathe...
David Green via All-commits
all-commits at lists.llvm.org
Tue Apr 11 06:50:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a39d2d50afcbe9796c5fffda86788fb51716aecb
https://github.com/llvm/llvm-project/commit/a39d2d50afcbe9796c5fffda86788fb51716aecb
Author: David Green <david.green at arm.com>
Date: 2023-04-11 (Tue, 11 Apr 2023)
Changed paths:
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
M llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
Log Message:
-----------
[ARM] Increase the Scalarized cost of masked gather/scatter operations
If a gather/scatter is masked and will need to be scalarized then the cost
should be higher than we currently produce. An additional cost for scalarizing
the mask, extracting i1s and branching on the result needs to be added, which
this patch gives a cost of 5.
Differential Revision: https://reviews.llvm.org/D147331
More information about the All-commits
mailing list