Similar to D116732, this adds basic sadd_with_overflow, uadd_with_overflow, ssub_with_overflow and usub_with_overflow costs for aarch64, which are usually quite efficiently lowered.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D116734
[AArch64] Update addo and subo costs ClosedPublic Authored by dmgreen on Jan 6 2022, 3:28 AM.
Details Summary Similar to D116732, this adds basic sadd_with_overflow, uadd_with_overflow, ssub_with_overflow and usub_with_overflow costs for aarch64, which are usually quite efficiently lowered.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 7 2022, 7:09 AM This revision was landed with ongoing or failed builds.Jan 7 2022, 8:20 AM Closed by commit rGbc615e436c5c: [AArch64] Update addo and subo costs (authored by dmgreen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 397829 llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/AArch64/arith-overflow.ll
llvm/test/Analysis/CostModel/AArch64/arith-ssat.ll
llvm/test/Analysis/CostModel/AArch64/arith-usat.ll
llvm/test/Transforms/LoopVectorize/AArch64/intrinsiccost.ll
|