[SystemZ] Use llvm::bit_floor (NFC)
authorKazu Hirata <kazu@google.com>
Wed, 25 Jan 2023 06:10:02 +0000 (22:10 -0800)
committerKazu Hirata <kazu@google.com>
Wed, 25 Jan 2023 06:10:03 +0000 (22:10 -0800)
commitd5248a46faed9071adffc65f82cac9bc0769b882
tree39758a58ad5408a3720cca36c3f3e62ffc99eb5b
parentb3de316420374536def0cc3bfb7d317db9fc830c
[SystemZ] Use llvm::bit_floor (NFC)

If x is known to be nonzero, findLastSet(x) returns the index of the
highest set bit counting from the LSB, so 1 << findLastSet(x) is the
same as llvm::bit_floor(x).
llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp