[llvm] Use llvm::bit_floor (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 22 Jan 2023 21:41:23 +0000 (13:41 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 22 Jan 2023 21:41:23 +0000 (13:41 -0800)
commitca7e849720c2a02264865e79c42b0179049df144
tree3c1e751988ca1236a6c891aa5278bfae989cddfe
parent45368c75582f0bded1f06d5c82c1f2ee023fb186
[llvm] Use llvm::bit_floor (NFC)

In all these cases, the arguments to Log2_32 are known to be nonzero,
so we don't have to worry about "1 << -1".
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/utils/TableGen/AsmWriterEmitter.cpp