[llvm] Map vector saturated converts to public intrinsics (PR #121483)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 09:22:50 PST 2025


================
@@ -5456,6 +5456,39 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
     break;
   }
 
+  case X86ISD::FP_TO_SINT_SAT_CUSTOM:
+  case X86ISD::FP_TO_UINT_SAT_CUSTOM:
+    if (Subtarget->hasAVX10_2()) {
----------------
RKSimon wrote:

should this be `assert(Subtarget->hasAVX10_2() & "Unsupported node")`?

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


More information about the llvm-commits mailing list