This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

HsiangKai created this revision.Nov 18 2020, 7:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2020, 7:58 AM
HsiangKai requested review of this revision.Nov 18 2020, 7:58 AM
This 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
This revision was automatically updated to reflect the committed changes.