This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Refine and refactor RISCVVEmitter and riscv_vector.td.
ClosedPublic

Authored by khchen on Mar 2 2022, 10:38 PM.

Details

Summary
  1. Rename nomask as unmasked to match the word in rvv spec.
  2. Merge UnMaskpolicy and Maskedpolicy arguments into one in RVVBuiltin class.
  3. Rename HasAutoDef as HasBuiltinAlias.
  4. Move header definition code into one individual class.

Diff Detail

Event Timeline

khchen created this revision.Mar 2 2022, 10:38 PM
khchen requested review of this revision.Mar 2 2022, 10:38 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 2 2022, 10:38 PM
rogfer01 accepted this revision.Mar 2 2022, 11:20 PM

Thanks for the cleanup @khchen !

LGTM.

This revision is now accepted and ready to land.Mar 2 2022, 11:20 PM
This revision was landed with ongoing or failed builds.Mar 22 2022, 10:12 AM
This revision was automatically updated to reflect the committed changes.