This is an archive of the discontinued LLVM Phabricator instance.

[ARM64] Parse fixed vector lanes properly so that diagnostics can be emitted
ClosedPublic

Authored by bsmith on May 15 2014, 2:45 AM.

Details

Reviewers
t.p.northover
Summary

This patch adds proper parsing for fixed vector lanes such as '[1]' rather than hardcoding it in the asm string. This allows for better diagnostics as well as cleaning up some hacks.

As with my previous patches, there is no testcase for this as it is part of the merge of MC/AArch64/basic-a64-diagnostics.s.

Diff Detail

Event Timeline

bsmith updated this revision to Diff 9423.May 15 2014, 2:45 AM
bsmith retitled this revision from to [ARM64] Parse fixed vector lanes properly so that diagnostics can be emitted.
bsmith updated this object.
bsmith edited the test plan for this revision. (Show Details)
bsmith added a reviewer: t.p.northover.
bsmith set the repository for this revision to rL LLVM.
bsmith added a subscriber: Unknown Object (MLST).
t.p.northover accepted this revision.May 15 2014, 4:04 AM
t.p.northover edited edge metadata.

Hi Bradley,

This looks good too! Shame about the custom decoder, but I don't know a way around it.

Cheers.

Tim.

This revision is now accepted and ready to land.May 15 2014, 4:04 AM
bsmith closed this revision.May 15 2014, 4:17 AM