[PATCH] D14774: [ARM] Add +feature names to TargetParser extensions table

Bradley Smith via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 06:47:01 PST 2015


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

In order to support the AArch64 +feature syntax used in -mcpu/-march on ARM, the TargetParser needs to be taught how to map the extension names to the LLVM feature names.

This change adds this support which will be used in my next (clang) patch to support this type of targeting. For now we just enable use of +crc/+nocrc since this is the only optional extension we want to expose on the command line.

Repository:
  rL LLVM

http://reviews.llvm.org/D14774

Files:
  include/llvm/Support/ARMTargetParser.def
  include/llvm/Support/TargetParser.h
  lib/Support/TargetParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14774.40501.patch
Type: text/x-patch
Size: 3857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151118/b1bced3b/attachment.bin>


More information about the llvm-commits mailing list