[llvm] [RISCV][GISel] Lower G_ABDS and G_ABDU (PR #155888)

Shaoce SUN via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 10:38:27 PDT 2025


================
@@ -488,6 +488,11 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
       .minScalar(ST.hasStdExtZbb(), 0, sXLen)
       .lower();
 
+  getActionDefinitionsBuilder({G_ABDS, G_ABDU})
+      .legalFor(ST.hasStdExtZbb(), {sXLen})
----------------
sunshaoce wrote:

I did misunderstand this, thanks.

https://github.com/llvm/llvm-project/pull/155888


More information about the llvm-commits mailing list