This is an archive of the discontinued LLVM Phabricator instance.

[TargetParser][AArch64] Add support for RDM feature in the target parser.
ClosedPublic

Authored by mcrosier on Aug 23 2017, 2:30 PM.

Diff Detail

Event Timeline

mcrosier created this revision.Aug 23 2017, 2:30 PM
samparker edited edge metadata.Aug 24 2017, 12:19 AM

Hi Chad,

Just a couple of small test suggestions from me.

thanks,
sam

unittests/Support/TargetParserTest.cpp
816–817

Would be good to add the feature here.

846–848

and here.

Looks good to me, was wondering if you're also planning to add a Clang patch to test +rdm?

mcrosier updated this revision to Diff 112539.Aug 24 2017, 5:53 AM

Address Sam's feedback by adding a few more tests.

Looks good to me, was wondering if you're also planning to add a Clang patch to test +rdm?

Yes, we should definitely add those. Coming up shortly.

This revision is now accepted and ready to land.Aug 24 2017, 5:57 AM
mcrosier updated this revision to Diff 112542.Aug 24 2017, 6:20 AM

-Add +rdm to llvm::AArch64::getExtensionFeatures. This was exposed while trying to write clang/driver tests. Thanks, Sjoerd.

Looks good to me, was wondering if you're also planning to add a Clang patch to test +rdm?

Yes, we should definitely add those. Coming up shortly.

Please see: https://reviews.llvm.org/D37106

mcrosier marked 2 inline comments as done.Aug 24 2017, 6:26 AM
mcrosier added inline comments.
unittests/Support/TargetParserTest.cpp
846–848

I also added the missing LSE test.

This revision was automatically updated to reflect the committed changes.
mcrosier marked an inline comment as done.