[RISCV] Use findFirstSet instead of countTrailingZeros. NFC
authorCraig Topper <craig.topper@sifive.com>
Mon, 5 Dec 2022 02:00:36 +0000 (18:00 -0800)
committerCraig Topper <craig.topper@sifive.com>
Mon, 5 Dec 2022 02:00:36 +0000 (18:00 -0800)
commit47ff3042e79b37bbfc19617836cfba1dbbdfec38
tree3978e0acfa64a33c9ee710cfb86af1fe5ec0b473
parentc8c1d7afa96a40b4a4ffc9ad82ae44a5344349be
[RISCV] Use findFirstSet instead of countTrailingZeros. NFC

findFirstSet is a wrapper around countTrailingZeros so they are
equivalent here, but I think findFirstSet more cleary describes
the algorithm here.
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp