diff options
author | Kazu Hirata <kazu@google.com> | 2025-06-08 22:37:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-08 22:37:51 -0700 |
commit | 3dabeed837c20b0664f7772247a08d4fddab8737 (patch) | |
tree | aea7d1aa781848ef23a6a5127415e90483a4082f /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | e47abec51353848d7ee2e50e8fc3f7b275a11463 (diff) | |
download | llvm-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