[llvm] [RISCV][GISel] Lower G_ABDS and G_ABDU (PR #155888)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 28 11:13:23 PDT 2025
================
@@ -488,6 +488,8 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
.minScalar(ST.hasStdExtZbb(), 0, sXLen)
.lower();
+ getActionDefinitionsBuilder({G_ABDS, G_ABDU}).customFor({s8, s16, s32, s64});
----------------
topperc wrote:
We should just use `lower()` here. LegalizerHelper can decide what that means.
https://github.com/llvm/llvm-project/pull/155888
More information about the llvm-commits
mailing list