[llvm] [RISCV] Pass sign-extended value to isInt check in expandMul (PR #150211)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 24 10:37:28 PDT 2025


================
@@ -16079,7 +16079,7 @@ static SDValue expandMul(SDNode *N, SelectionDAG &DAG,
   uint64_t MulAmt = CNode->getZExtValue();
----------------
lenary wrote:

I'm a little concerned that some of this function treats the constant as unsigned, and some as signed, but I don't know if that instinct is right.

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


More information about the llvm-commits mailing list