[llvm] [RISCV] Add SRAW to ComputeNumSignBitsForTargetNode. (PR #155564)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 06:55:34 PDT 2025
================
@@ -21451,8 +21451,14 @@ unsigned RISCVTargetLowering::ComputeNumSignBitsForTargetNode(
if (Tmp < 33) return 1;
return 33;
}
+ case RISCVISD::SRAW: {
+ unsigned Tmp =
----------------
preames wrote:
There's a comment just below you need to update/remove for SRAW.
https://github.com/llvm/llvm-project/pull/155564
More information about the llvm-commits
mailing list