aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2025-02-03 17:50:42 +0000
committerGitHub <noreply@github.com>2025-02-03 17:50:42 +0000
commitfe694b18dc518b86eae9aab85ff03abc54e1662f (patch)
tree2c4a96c3f3d9b8a1392ea13d4d8b25b25053db73 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent6dfe20dbbd65e2945350ed9a93eb383131c49511 (diff)
downloadllvm-fe694b18dc518b86eae9aab85ff03abc54e1662f.zip
llvm-fe694b18dc518b86eae9aab85ff03abc54e1662f.tar.gz
llvm-fe694b18dc518b86eae9aab85ff03abc54e1662f.tar.bz2
[libclc] Move mad_sat to CLC; optimize for vector types (#125517)
This commit moves the mad_sat builtin to the CLC library. It also optimizes it for vector types by avoiding scalarization. To help do this it transforms the previous control-flow code into vector select code. This has also been done for the scalar versions for simplicity.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions