[all-commits] [llvm/llvm-project] 13d58f: [RISCV] Replace call to APInt::countTrailingZeros ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Jul 3 09:01:17 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13d58ff9f373d812d6e873fbb1d704a47705ebbe
https://github.com/llvm/llvm-project/commit/13d58ff9f373d812d6e873fbb1d704a47705ebbe
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-07-03 (Sun, 03 Jul 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Log Message:
-----------
[RISCV] Replace call to APInt::countTrailingZeros with uint64_t verson. NFC
We know the number of bits is 64 or 32 so we can use the uint64_t
version directly. This saves the APInt needing to check for the
small vs large size.
More information about the All-commits
mailing list