[llvm] [X86][AVX10.2] Map vector saturated converts to public intrinsics (PR #121483)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 00:43:32 PST 2025


================
@@ -5456,6 +5456,39 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
     break;
   }
 
+  case X86ISD::FP_TO_SINT_SAT_CUSTOM:
----------------
phoebewang wrote:

What Craig means is you can define a SDNode like `X86fp2uisat`, and add patterns in X86InstrAVX10.td instead of doing manual selection.

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


More information about the llvm-commits mailing list