This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Teach copyPhysReg to copy ZPR2/3/4.
ClosedPublic

Authored by efriedma on Jul 22 2020, 5:13 PM.

Details

Summary

It's sort of tricky to hit this in practice, but not impossible. I have a synthetic C testcase if anyone is interested.

The implementation is identical to the equivalent NEON register copies.

Diff Detail

Event Timeline

efriedma created this revision.Jul 22 2020, 5:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2020, 5:13 PM
sdesmalen accepted this revision.Jul 23 2020, 1:43 AM

Good catch, I didn't realise we were missing those copies. LGTM!

This revision is now accepted and ready to land.Jul 23 2020, 1:43 AM
This revision was automatically updated to reflect the committed changes.