[llvm] [RISCV] Support P extension ABSW instruction. (PR #165047)

Brandon Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 06:36:02 PDT 2025


================
@@ -21862,6 +21873,7 @@ unsigned RISCVTargetLowering::ComputeNumSignBitsForTargetNode(
   case RISCVISD::REMUW:
   case RISCVISD::ROLW:
   case RISCVISD::RORW:
+  case RISCVISD::ABSW:
----------------
4vtomat wrote:

As per spec, I think only first 32 bits are read~

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


More information about the llvm-commits mailing list