@tangxingxin1008 found a bug that regard vadd.vv v1, v3, a0 as a valid V instruction. We should remove the VRegAsmOperand operand class and use VR register class directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91712
[RISCV] Use register class VR for V instruction operands directly. ClosedPublic Authored by HsiangKai on Nov 18 2020, 7:58 AM.
Details Summary @tangxingxin1008 found a bug that regard vadd.vv v1, v3, a0 as a valid V instruction. We should remove the VRegAsmOperand operand class and use VR register class directly.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 18 2020, 10:26 AM This revision was landed with ongoing or failed builds.Nov 18 2020, 2:01 PM Closed by commit rG44cd03ad041e: [RISCV] Use register class VR for V instruction operands directly. (authored by HsiangKai). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 306218 llvm/lib/Target/RISCV/RISCVInstrInfoV.td
llvm/test/MC/RISCV/rvv/invalid.s
|