This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add isMoveReg to vmv1r/vmv2r/vmv4r/vmv8r.v.
ClosedPublic

Authored by craig.topper on Jul 12 2023, 5:21 PM.

Details

Summary

This allows TII isCopyInstrImpl to consider them copies.

Diff Detail

Unit TestsFailed

Event Timeline

craig.topper created this revision.Jul 12 2023, 5:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 5:21 PM
craig.topper requested review of this revision.Jul 12 2023, 5:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 5:21 PM
wangpc added a comment.EditedJul 12 2023, 7:37 PM

Is it possible to add a MIR test that performs MCP on vector registers?

Add a test that causes tail duplication to create a copy that can be removed.

wangpc accepted this revision.Jul 17 2023, 7:26 PM

LGTM

This revision is now accepted and ready to land.Jul 17 2023, 7:26 PM
This revision was landed with ongoing or failed builds.Jul 18 2023, 9:49 AM
This revision was automatically updated to reflect the committed changes.