[all-commits] [llvm/llvm-project] 797334: [RISCV] Use uint64_t countTrailingZeros/Ones inste...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Aug 30 12:39:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7973346d1672dda58c5ba33918ef38bf707daa42
https://github.com/llvm/llvm-project/commit/7973346d1672dda58c5ba33918ef38bf707daa42
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
Log Message:
-----------
[RISCV] Use uint64_t countTrailingZeros/Ones instead of APInt. NFC
We know the type is 32 or 64 bits, we can use getZExtValue and
bypass the slow path check in APInt.
More information about the All-commits
mailing list