aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorMihail Mihov <mihovmihailp+github@gmail.com>2025-10-24 18:40:11 +0200
committerGitHub <noreply@github.com>2025-10-25 00:40:11 +0800
commit6034ab3d98bf75fd6e6b231a6601d0536e44c222 (patch)
tree7310e96efc403d2eef7d9069a37909bfcf8142f7 /llvm/lib/IR/Module.cpp
parentbf553338e5e1e4520d69ef5b34a8659bf3d92492 (diff)
downloadllvm-6034ab3d98bf75fd6e6b231a6601d0536e44c222.zip
llvm-6034ab3d98bf75fd6e6b231a6601d0536e44c222.tar.gz
llvm-6034ab3d98bf75fd6e6b231a6601d0536e44c222.tar.bz2
[InstCombine] Add CTLZ -> CTTZ simplification (#164733)
This PR adds the simplification `ctlz(~x & (x - 1)) -> bitwidth - cttz(x, false)` ([Alive2](https://alive2.llvm.org/ce/z/vVDRCu)). Closes issue #164436
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions