This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Convert whole register copies as the source defined explicitly.
ClosedPublic

Authored by HsiangKai on Dec 16 2021, 2:15 AM.

Details

Summary

The implicit defines may come from a partial define in an instruction.
It does not mean the defining instruction and the COPY instruction have
the same vl and vtype. When the source comes from the implicit defines,
do not convert the whole register copies to vmv.v.v.

Diff Detail

Event Timeline

HsiangKai created this revision.Dec 16 2021, 2:15 AM
HsiangKai requested review of this revision.Dec 16 2021, 2:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2021, 2:15 AM
khchen accepted this revision.Dec 25 2021, 6:44 PM

LGTM.

This revision is now accepted and ready to land.Dec 25 2021, 6:44 PM
This revision was landed with ongoing or failed builds.Dec 26 2021, 10:00 PM
This revision was automatically updated to reflect the committed changes.