Refactor patterns for Multiply Add instructions
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
1091 | 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 | ||
---|---|---|
1091 | Doesn't VPatWidenMultiplyAddVL_VV_VX also use wti.RegClass:$rd, vti.RegClass:$rs1? |
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
1091 | Oh dear, yes of course. I think I was looking at VPatMultiplyAddVL_VV_VX by mistake. |
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
1091 | 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.