This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix missing def operand when creating VSETVLI pseudos
ClosedPublic

Authored by frasercrmck on Dec 8 2020, 1:27 AM.

Details

Summary

The register operand was not being marked as a def when it should be. No tests
for this in the main branch as there are not yet any pseudos without a
non-negative VLIndex.

Also change the type of a virtual register operand from unsigned to Register
and adjust formatting.

Diff Detail

Event Timeline

frasercrmck created this revision.Dec 8 2020, 1:27 AM
frasercrmck requested review of this revision.Dec 8 2020, 1:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2020, 1:27 AM
This revision is now accepted and ready to land.Dec 8 2020, 9:52 AM
This revision was landed with ongoing or failed builds.Dec 9 2020, 1:41 AM
This revision was automatically updated to reflect the committed changes.