The costs of shifts was 2 as opposed to 1, as the nodes are marked custom. Fix this like the others and mark the nodes as cheap.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D120773
[AArch64] Shifts cost 1 ClosedPublic Authored by dmgreen on Mar 1 2022, 2:06 PM.
Details Summary The costs of shifts was 2 as opposed to 1, as the nodes are marked custom. Fix this like the others and mark the nodes as cheap.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 2 2022, 2:51 AM This revision was landed with ongoing or failed builds.Mar 3 2022, 2:43 AM Closed by commit rG65c0e45a3790: [AArch64] Vector shifts cost 1 (authored by dmgreen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 412648 llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/AArch64/arith-overflow.ll
llvm/test/Analysis/CostModel/AArch64/arith.ll
llvm/test/Analysis/CostModel/AArch64/div.ll
llvm/test/Analysis/CostModel/AArch64/div_cte.ll
llvm/test/Transforms/SLPVectorizer/AArch64/gather-cost.ll
|