[llvm] [DAG] Support saturated truncate (PR #99418)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 01:54:27 PDT 2024
================
@@ -804,6 +804,9 @@ enum NodeType {
/// TRUNCATE - Completely drop the high bits.
TRUNCATE,
+ /// TRUNCATE_[SU]SAT - Truncate for saturated operand
+ TRUNCATE_SSAT,
----------------
davemgreen wrote:
AArch64 has a SQXTUN node too: https://docsmirror.github.io/A64/2023-09/sqxtun_advsimd.html
https://github.com/llvm/llvm-project/pull/99418
More information about the llvm-commits
mailing list