aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-06-08 22:37:51 -0700
committerGitHub <noreply@github.com>2025-06-08 22:37:51 -0700
commit3dabeed837c20b0664f7772247a08d4fddab8737 (patch)
treeaea7d1aa781848ef23a6a5127415e90483a4082f /llvm/lib/Analysis/LoopAccessAnalysis.cpp
parente47abec51353848d7ee2e50e8fc3f7b275a11463 (diff)
downloadllvm-3dabeed837c20b0664f7772247a08d4fddab8737.zip
llvm-3dabeed837c20b0664f7772247a08d4fddab8737.tar.gz
llvm-3dabeed837c20b0664f7772247a08d4fddab8737.tar.bz2
[ADT] Simplify popcount with constexpr if (NFC) (#143339)
Without this patch, we implement 4-byte and 8-byte popcount as structs. This patch replaces the template trick with constexpr if, putting the entire logic in the body of popcount.
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions