This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Enable VPUSH/VPOP aliases when either MVE or VFP is present
ClosedPublic

Authored by miyuki on Jul 9 2019, 6:24 AM.

Diff Detail

Event Timeline

miyuki created this revision.Jul 9 2019, 6:24 AM
dmgreen added inline comments.Jul 9 2019, 10:47 AM
llvm/lib/Target/ARM/ARMInstrVFP.td
312 ↗(On Diff #208662)

Are these needed too, for the optional suffix?

miyuki updated this revision to Diff 208749.Jul 9 2019, 11:14 AM

Changed predicate for variants with suffixes

miyuki updated this revision to Diff 208751.Jul 9 2019, 11:15 AM

Uploaded the correct patch

miyuki marked an inline comment as done.Jul 9 2019, 11:16 AM
dmgreen accepted this revision.Jul 9 2019, 11:36 AM

Other than a couple of test nits, LGTM.

llvm/test/MC/ARM/mve-fp-registers.s
52 ↗(On Diff #208751)

I think this should be vpop.64

64 ↗(On Diff #208751)

same here.

88 ↗(On Diff #208751)

and this one vpush.32

(although none of these we seems to be very stringent on, the spec says "If present, it must be equal to the size in bits, 32 or 64, of the registers being transferred." )

This revision is now accepted and ready to land.Jul 9 2019, 11:36 AM
This revision was automatically updated to reflect the committed changes.