[llvm] [ARM] Custom lower abdu and abds (PR #182696)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 12:44:38 PDT 2026
================
@@ -300,6 +300,8 @@ class VectorType;
bool preferSelectsOverBooleanArithmetic(EVT VT) const override;
+ bool preferABDSToABSWithNSW(EVT VT) const override { return VT.isVector(); }
----------------
efriedma-quic wrote:
Why does this matter? Looking at the test changes, it doesn't reduce the number of instructions.
https://github.com/llvm/llvm-project/pull/182696
More information about the llvm-commits
mailing list