[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


================
@@ -11420,6 +11420,31 @@ SDValue DAGCombiner::visitSRL(SDNode *N) {
   if (SDValue AVG = foldShiftToAvg(N, DL))
     return AVG;
 
+  SDValue Y;
+  if (VT.getScalarSizeInBits() % 2 == 0) {
----------------
topperc wrote:

Check that N1C is non-null here?

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


More information about the llvm-commits mailing list