This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Support +feature targeting in -mcpu/-march
ClosedPublic

Authored by bsmith on Nov 18 2015, 6:46 AM.

Details

Reviewers
rengolin
Summary

For AArch64 it is possible to specify various optional extensions by using options such as '-mcpu=cortex-a53+crc', we would like to add the same support to the ARM targeting to allow specifying of extensions in this manner. We use TargetParser to do this rather than a StringSwitch to avoid hard-coding extension names.

Diff Detail

Repository
rL LLVM

Event Timeline

bsmith updated this revision to Diff 40502.Nov 18 2015, 6:46 AM
bsmith retitled this revision from to [ARM] Support +feature targeting in -mcpu/-march.
bsmith updated this object.
bsmith added a reviewer: rengolin.
bsmith set the repository for this revision to rL LLVM.
bsmith added a subscriber: cfe-commits.
rengolin accepted this revision.Nov 18 2015, 7:47 AM
rengolin edited edge metadata.

This looks good to me. Thanks!

This revision is now accepted and ready to land.Nov 18 2015, 7:47 AM
bsmith updated this revision to Diff 40515.Nov 18 2015, 8:24 AM
bsmith edited edge metadata.

Add +crypto to testing.

bsmith closed this revision.Nov 18 2015, 8:36 AM

Thanks, committed as r253471.