diff options
author | Fraser Cormack <fraser@codeplay.com> | 2025-01-29 11:12:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 11:12:40 +0000 |
commit | 12cdf4330d32ce073f88dfaa1ab9a32327b9ef38 (patch) | |
tree | 19db995566026e87f27e61ba1c256548118be456 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ecc71de53f8786269ce089501432ee555f98f55b (diff) | |
download | llvm-12cdf4330d32ce073f88dfaa1ab9a32327b9ef38.zip llvm-12cdf4330d32ce073f88dfaa1ab9a32327b9ef38.tar.gz llvm-12cdf4330d32ce073f88dfaa1ab9a32327b9ef38.tar.bz2 |
[libclc] Move (add|sub)_sat to CLC; optimize (#124903)
Using the `__builtin_elementwise_(add|sub)_sat` functions allows us to
directly optimize to the desired intrinsic, and avoid scalarization for
vector types.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions