aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-02-14 13:05:09 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2024-02-15 10:41:08 +0000
commitb279ca278370dabd27b8d380d59bdb5018366053 (patch)
tree44b74c8d881610e3e79f1c431af4218214faea93 /clang/lib/CodeGen/CodeGenModule.cpp
parent2df652a69159b76c97cfd94e32ad6bb71dde716c (diff)
downloadllvm-b279ca278370dabd27b8d380d59bdb5018366053.zip
llvm-b279ca278370dabd27b8d380d59bdb5018366053.tar.gz
llvm-b279ca278370dabd27b8d380d59bdb5018366053.tar.bz2
[DAG] visitCTPOP - CTPOP(SHIFT(X)) -> CTPOP(X) iff the shift doesn't affect any non-zero bits
If the source is being (logically) shifted, but doesn't affect any active bits, then we can call CTPOP on the shift source directly.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions