We can cost them the same way as a scalable masked load/store. By hitting the default path, we were costing them as if they were being scalarized. This is a significant over estimate.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D137218
[RISCV] Fix cost of legal fixed length masked load and stores ClosedPublic Authored by reames on Nov 1 2022, 5:19 PM.
Details Summary We can cost them the same way as a scalable masked load/store. By hitting the default path, we were costing them as if they were being scalarized. This is a significant over estimate.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Nov 2 2022, 2:04 AM Closed by commit rG73482b457e47: [RISCV] Fix cost of legal fixed length masked load and stores (authored by reames). · Explain WhyNov 2 2022, 7:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 472465 llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
|