[PATCH] [AArch64] Implement Clang CLI interface proposal about "-march".

Kevin Qin kevinqindev at gmail.com
Tue Jul 15 23:04:46 PDT 2014


Hi,

This patch is to change variable name from "Splited" to "Split".

For the test about -march, I believe the test in patch is enough to show all modifiers that it can accept, as CPU name is not allowed to put through -march. -mcpu and -mtune are the options designed to pass CPU name. See https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html .
I quoted related words from that webpage here:

//-march=name//
//Specify the name of the target architecture, optionally suffixed by one or more feature modifiers. This option has the form -march=arch{+[no]feature}, where the only permissible value for arch is ‘armv8-a’."//


Thanks,
Kevin

http://reviews.llvm.org/D4346

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  lib/Basic/Targets.cpp
  lib/Driver/ToolChains.cpp
  lib/Driver/Tools.cpp
  test/CodeGen/arm_acle.c
  test/Driver/aarch64-cpus.c
  test/Driver/aarch64-mfpu.c
  test/Preprocessor/aarch64-target-features.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4346.11486.patch
Type: text/x-patch
Size: 25304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140716/18aa5831/attachment.bin>


More information about the cfe-commits mailing list