[all-commits] [llvm/llvm-project] 1d67ad: [RISCV] Give CSImm12MulBy4 PatLeaf priority over C...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Jun 2 20:59:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d67adbfbf2743a9ee7a08be2ce441710c95e5e8
https://github.com/llvm/llvm-project/commit/1d67adbfbf2743a9ee7a08be2ce441710c95e5e8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-06-02 (Thu, 02 Jun 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Log Message:
-----------
[RISCV] Give CSImm12MulBy4 PatLeaf priority over CSImm12MulBy8. NFC
The immediate range check for CSImm12MulBy8 included some values
covered by CSImm12MulBy4. I assume CSImm12MulBy4 had priority due
to pattern order in the td file, but this makes the priority
explicit in the predicate.
More information about the All-commits
mailing list