[llvm] [DAG] Support saturated truncate (PR #99418)
    Simon Pilgrim via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jul 22 04:45:52 PDT 2024
    
    
  
================
@@ -804,6 +804,9 @@ enum NodeType {
 
   /// TRUNCATE - Completely drop the high bits.
   TRUNCATE,
+  /// TRUNCATE_[SU]SAT - Truncate for saturated operand
+  TRUNCATE_SSAT,
----------------
RKSimon wrote:
If we have targets that support for TRUNCATE_USAT_S then by all means support it.
https://github.com/llvm/llvm-project/pull/99418
    
    
More information about the llvm-commits
mailing list