diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2025-04-23 08:54:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-23 08:54:10 +0300 |
commit | 5080a0251fe3352d26560075a9b3b8c9acb13d23 (patch) | |
tree | 41f14dbcca9f1a94d70f4ae4c1033c216e9933d4 /clang/lib/AST/ByteCode/InterpBuiltin.cpp | |
parent | 7b6801574d978ef418dd76257478cbbe5866b09f (diff) | |
download | llvm-5080a0251fe3352d26560075a9b3b8c9acb13d23.zip llvm-5080a0251fe3352d26560075a9b3b8c9acb13d23.tar.gz llvm-5080a0251fe3352d26560075a9b3b8c9acb13d23.tar.bz2 |
[CodeGenPrepare] Unfold slow ctpop when used in power-of-two test (#102731)
DAG combiner already does this transformation, but in some cases it does
not have a chance because either CodeGenPrepare or SelectionDAGBuilder
move icmp to a different basic block.
https://alive2.llvm.org/ce/z/ARzh99
Fixes #94829
Pull Request: https://github.com/llvm/llvm-project/pull/102731
Diffstat (limited to 'clang/lib/AST/ByteCode/InterpBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions