[llvm] [ISel] Introduce llvm.clmul intrinsic (PR #168731)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 5 02:56:24 PST 2026
================
@@ -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:
----------------
artagnon wrote:
I _think_ that when the upper bits don't matter, zext produces better codegen: I tried with SimpleBinOp, and it is indeed worse.
https://github.com/llvm/llvm-project/pull/168731
More information about the llvm-commits
mailing list