Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Limit to cases where mul has a single use. There may be a better heuristic here,
but this is a simple starting point.
llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td | ||
---|---|---|
485 | I am not familiar with SD Patterns and the TableGen syntax, so I may be wrong. According to v-spec: vmacc.vv vd, vs1, vs2, vm # vd[i] = +(vs1[i] * vs2[i]) + vd[i] Shouldn't $rs1 be multiplying with $rs2 here? |
llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td | ||
---|---|---|
485 | Aren't these patterns for vmadd.vv vd, vs1, vs2, vm # vd[i] = (vs1[i] * vd[i]) + vs2[i] |
llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td | ||
---|---|---|
485 | Ah I see. You are correct. |
clang-format not found in user’s local PATH; not linting file.