[all-commits] [llvm/llvm-project] 53deef: [RISCV] Remove unneeded !eq comparing a single bit...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Dec 22 12:04:22 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53deef9e0b8ffa1a4a9c0f88b5fc0621978f9ea6
https://github.com/llvm/llvm-project/commit/53deef9e0b8ffa1a4a9c0f88b5fc0621978f9ea6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove unneeded !eq comparing a single bit value to 0/1 in RISCVInstrInfoVPseudos.td. NFC
Instead we can either use the bit directly. If it was checking for
0 we need to swap the operands or use !not.
More information about the All-commits
mailing list