[llvm] [SelectionDAG] Use ExpandIntRes_CLMUL to expand vector CLMUL via narrower legal types (PR #184468)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 13:54:25 PST 2026


================
@@ -8484,8 +8615,7 @@ SDValue TargetLowering::expandCLMUL(SDNode *Node, SelectionDAG &DAG) const {
       // instructions.
       SDValue Part;
       if (!hasBitTest(Y, ShiftAmt) &&
-          isOperationLegalOrCustom(
-              ISD::MUL, getTypeToTransformTo(*DAG.getContext(), VT))) {
+          isOperationLegalOrCustom(ISD::MUL, getTypeToTransformTo(Ctx, VT))) {
----------------
topperc wrote:

This seems to be reverting https://github.com/llvm/llvm-project/pull/184238?

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


More information about the llvm-commits mailing list