[llvm] [RISCV] Support P extension ABSW instruction. (PR #165047)
Piotr Fusik via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 27 06:09:38 PDT 2025
================
@@ -21862,6 +21873,7 @@ unsigned RISCVTargetLowering::ComputeNumSignBitsForTargetNode(
case RISCVISD::REMUW:
case RISCVISD::ROLW:
case RISCVISD::RORW:
+ case RISCVISD::ABSW:
----------------
pfusik wrote:
How is `ABSW(1 << 31)` defined?
https://github.com/llvm/llvm-project/pull/165047
More information about the llvm-commits
mailing list