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

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 00:40:55 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))) {
----------------
AbdallahRashed wrote:

sorry, was not aware of your PR, reverted back .

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


More information about the llvm-commits mailing list