[llvm] [ISel] Introduce llvm.clmul intrinsic (PR #168731)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 08:59:29 PST 2025


================
@@ -221,6 +223,7 @@ void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) {
   case ISD::VP_SDIV:
   case ISD::VP_SREM:     Res = PromoteIntRes_SExtIntBinOp(N); break;
 
+  case ISD::CLMUL:
----------------
topperc wrote:

Why does this need to call PromoteIntRes_ZExtIntBinOp? The upper bits past the original type should't matter.

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


More information about the llvm-commits mailing list