diff options
author | Folkert de Vries <folkert@folkertdev.nl> | 2025-10-08 20:52:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 11:52:18 -0700 |
commit | 761be78dd73436dfa66090ba921ca8154cc42209 (patch) | |
tree | f4d210d083d25b4ef72337d27c8a48e7165543e4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 40fbe32cbad1cec303345cb7908d35ea93d88ef2 (diff) | |
download | llvm-761be78dd73436dfa66090ba921ca8154cc42209.zip llvm-761be78dd73436dfa66090ba921ca8154cc42209.tar.gz llvm-761be78dd73436dfa66090ba921ca8154cc42209.tar.bz2 |
[WebAssembly] recognize saturating truncation (#155470)
fixes https://github.com/llvm/llvm-project/issues/153838
using the same approach as
https://github.com/llvm/llvm-project/pull/155377
Recognize a manual saturating truncation and select the corresponding
instruction. This is useful in general, but came up specifically in
https://github.com/rust-lang/stdarch because it will allow us to drop
more target-specific intrinsics in favor of cross-platform ones.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions