[llvm] [RISCV] Use SHL_ADD in remaining strength reduce cases for MUL (PR #89789)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 11:00:05 PDT 2024
preames wrote:
> > /home/dtcxzyw/llvm-codegen/actions-runner/_work/llvm-codegen-benchmark/llvm-codegen-benchmark/llvm/llvm-project/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td:767:19: error: Variable not defined: 'riscv_shl_add'
> > def : Pat<(i64 (riscv_shl_add (and GPR:$rs1, 0xFFFFFFFF), (i64 i), GPR:$rs2)),
I can't reproduce this failure. I suspect you didn't use a recent enough ToT revision as the base of the patch.
https://github.com/llvm/llvm-project/pull/89789
More information about the llvm-commits
mailing list