[llvm] [TargetLowering] Improve one signature of forceExpandWideMUL. (PR #123991)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 23:19:03 PST 2025
================
@@ -10952,22 +10952,73 @@ void TargetLowering::forceExpandWideMUL(SelectionDAG &DAG, const SDLoc &dl,
SDValue &Hi) const {
EVT VT = LHS.getValueType();
assert(RHS.getValueType() == VT && "Mismatching operand types");
+ EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits() * 2);
----------------
topperc wrote:
This is not currently used by vectors and probably needs more fixes to support vector.
https://github.com/llvm/llvm-project/pull/123991
More information about the llvm-commits
mailing list