[llvm] [DAG] Support saturated truncate (PR #99418)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 01:09:09 PDT 2024


================
@@ -1410,6 +1410,12 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
     }
   }
 
+  for (MVT VT : {MVT::v8i16, MVT::v4i32}) {
----------------
davemgreen wrote:

Can you add v2i64, and the patterns for them too? That should allow some more cases that transform.

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


More information about the llvm-commits mailing list