diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-01-19 11:02:26 -0800 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-01-19 11:26:24 -0800 |
commit | 78f29acae6dc159660753ac91faefa390e2bad93 (patch) | |
tree | c8937c486ea95e71d15a90a852e0271eca3399b7 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | eac59fa04ea4e0e4ce70ae47d53384a300a0f989 (diff) | |
download | llvm-78f29acae6dc159660753ac91faefa390e2bad93.zip llvm-78f29acae6dc159660753ac91faefa390e2bad93.tar.gz llvm-78f29acae6dc159660753ac91faefa390e2bad93.tar.bz2 |
Add transform ctpop(X) -> 1 iff X is non-zero power of 2
Definitionally a non-zero power of 2 will only have 1 bit set so this
is a freebee.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D141990
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions