[all-commits] [llvm/llvm-project] c8c1d7: [RISCV] Use emplace_back to shorten lines in RISCV...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Dec 4 18:07:41 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c8c1d7afa96a40b4a4ffc9ad82ae44a5344349be
https://github.com/llvm/llvm-project/commit/c8c1d7afa96a40b4a4ffc9ad82ae44a5344349be
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
Log Message:
-----------
[RISCV] Use emplace_back to shorten lines in RISCVMatInt. NFC
A few other minor improvements.
Commit: 47ff3042e79b37bbfc19617836cfba1dbbdfec38
https://github.com/llvm/llvm-project/commit/47ff3042e79b37bbfc19617836cfba1dbbdfec38
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
Log Message:
-----------
[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.
Compare: https://github.com/llvm/llvm-project/compare/b5e1fc19da95...47ff3042e79b
More information about the All-commits
mailing list