[clang] [llvm] [clang] Add __builtin_elementwise_saturating_cast (PR #227603)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 05:00:52 PDT 2026
RKSimon wrote:
For `__builtin_elementwise_add_sat` we had multiple targets that had exactly equivalent intrinsics that could be directly replaced with the generic - saturating cast is messier as theres so many different saturations that targets use (s->s, s->u, u->u just for x86).
https://github.com/llvm/llvm-project/pull/227603
More information about the llvm-commits
mailing list