[llvm] [IR] Add llvm `clmul` intrinsic (PR #140301)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 00:53:11 PDT 2025


================
@@ -3907,6 +3907,10 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
     if (SDValue Expanded = TLI.expandFunnelShift(Node, DAG))
       Results.push_back(Expanded);
     break;
+  case ISD::CLMUL:
+    if (SDValue Expanded = TLI.expandCLMUL(Node, DAG))
+      Results.push_back(Expanded);
----------------
arsenm wrote:

This should be a never-fail return 

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


More information about the llvm-commits mailing list