aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2025-04-29 22:33:40 +0300
committerGitHub <noreply@github.com>2025-04-29 22:33:40 +0300
commitbecd418626e1ebedde6d095f7bb020e554251b15 (patch)
tree4783c1fbc3fb6c6a93ef661dccf6c401153f67ba /clang/lib/CodeGen/CodeGenModule.cpp
parent705ceff7c1fc328151a6506a91773aac429ccee3 (diff)
downloadllvm-becd418626e1ebedde6d095f7bb020e554251b15.zip
llvm-becd418626e1ebedde6d095f7bb020e554251b15.tar.gz
llvm-becd418626e1ebedde6d095f7bb020e554251b15.tar.bz2
[CGP] Despeculate ctlz/cttz with "illegal" integer types (#137197)
The code below the removed check looks generic enough to support arbitrary integer widths. This change helps 32-bit targets avoid expensive expansion/libcalls in the case of zero input. Pull Request: https://github.com/llvm/llvm-project/pull/137197
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions