aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CIR/CodeGen/CIRGenModule.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2025-08-20 12:18:28 +0100
committerGitHub <noreply@github.com>2025-08-20 12:18:28 +0100
commit8b128388b527ac196e06115dd2496e2e9d59e565 (patch)
tree7c4a1bc9404405e463fe430e8cdba07c98e09895 /clang/lib/CIR/CodeGen/CIRGenModule.cpp
parentd770567a514716cdb250a2dee635435c22622e34 (diff)
downloadllvm-8b128388b527ac196e06115dd2496e2e9d59e565.zip
llvm-8b128388b527ac196e06115dd2496e2e9d59e565.tar.gz
llvm-8b128388b527ac196e06115dd2496e2e9d59e565.tar.bz2
[clang] Introduce elementwise ctlz/cttz builtins (#131995)
These builtins are modeled on the clzg/ctzg builtins, which accept an optional second argument. This second argument is returned if the first argument is 0. These builtins unconditionally exhibit zero-is-undef behaviour, regardless of target preference for the other ctz/clz builtins. The builtins have constexpr support. Fixes #154113
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
0 files changed, 0 insertions, 0 deletions