[all-commits] [llvm/llvm-project] e8ce6c: [RISCV] Fix typo in CV_SH_rr_inc pattern (#120246)
Philipp van Kempen via All-commits
all-commits at lists.llvm.org
Tue Dec 17 12:20:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8ce6c4e69745b1b2cd6f7479c48fbae44622cb3
https://github.com/llvm/llvm-project/commit/e8ce6c4e69745b1b2cd6f7479c48fbae44622cb3
Author: Philipp van Kempen <phvankempen at googlemail.com>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
Log Message:
-----------
[RISCV] Fix typo in CV_SH_rr_inc pattern (#120246)
This typo in
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td#L701:L701
caused a compiler crash in 'RISC-V Assembly Printer' because
CV_SH_ri_inc was selected, leading to `getImmOpValue` being called for a
register operand.
This bug did not affect the Assembler output and therefore does not
trigger any existing unit tests, but is visible by examining the final
MIR function.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list