[PATCH] D14773: [ARM] Support +feature targeting in -mcpu/-march

Bradley Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 18 06:46:12 PST 2015


bsmith created this revision.
bsmith added a reviewer: rengolin.
bsmith added a subscriber: cfe-commits.
bsmith set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

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.

Repository:
  rL LLVM

http://reviews.llvm.org/D14773

Files:
  lib/Driver/Tools.cpp
  test/Driver/arm-features.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14773.40502.patch
Type: text/x-patch
Size: 5052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151118/3a4392ea/attachment.bin>


More information about the cfe-commits mailing list