Refactor patterns for Multiply Add instructions
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
|---|---|---|
| 1068 | We're losing the wti in wti.RegClass:$rd, vti.RegClass:$rs1 here by moving to VPatWidenMultiplyAddVL_VV_VX. I'm not sure why this isn't an error. | |
| llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
|---|---|---|
| 1068 | Doesn't VPatWidenMultiplyAddVL_VV_VX also use wti.RegClass:$rd, vti.RegClass:$rs1? | |
| llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
|---|---|---|
| 1068 | Oh dear, yes of course. I think I was looking at VPatMultiplyAddVL_VV_VX by mistake. | |
| llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
|---|---|---|
| 1068 | VPatWidenMultiplyAddVL_VV_VX also used wti.RegClass:$rd, vti.RegClass:$rs1 | |
We're losing the wti in wti.RegClass:$rd, vti.RegClass:$rs1 here by moving to VPatWidenMultiplyAddVL_VV_VX. I'm not sure why this isn't an error.