This adds basic MVE costs for SMIN/SMAX/UMIN/UMAX, as well as MINNUM and MAXNUM representing fmin and fmax. It tightens up the costs, not using a ICmp+Select cost.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D96603
[ARM] Add some basic Min/Max costs ClosedPublic Authored by dmgreen on Feb 12 2021, 6:37 AM.
Details Summary This adds basic MVE costs for SMIN/SMAX/UMIN/UMAX, as well as MINNUM and MAXNUM representing fmin and fmax. It tightens up the costs, not using a ICmp+Select cost.
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls. · View Herald TranscriptFeb 12 2021, 6:37 AM This revision is now accepted and ready to land.Feb 15 2021, 2:49 AM Closed by commit rG0a98efb04939: [ARM] Add some basic Min/Max costs (authored by dmgreen). · Explain WhyFeb 15 2021, 7:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 323743 llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
llvm/test/Analysis/CostModel/ARM/mve-minmax.ll
|