[llvm] [DAG] Support saturated truncate (PR #99418)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 21 00:56:04 PDT 2024
================
@@ -804,6 +804,9 @@ enum NodeType {
/// TRUNCATE - Completely drop the high bits.
TRUNCATE,
+ /// TRUNCATE_[SU]SAT - Truncate for saturated operand
+ TRUNCATE_SSAT,
----------------
ParkHanbum wrote:
@RKSimon should add that ISD? is it not necessary for unsigned input to signed input?
https://github.com/llvm/llvm-project/pull/99418
More information about the llvm-commits
mailing list