[SystemZ] Add -march=archX aliases
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 31 Oct 2016 14:38:05 +0000 (14:38 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 31 Oct 2016 14:38:05 +0000 (14:38 +0000)
commit30354ebb003375b1f112bd491bb61d54d5f37f22
treef477c1be658005381fa21984f9962b4b1e0cbcf4
parent2e5e51b3f327b977f8c0f074654168d502f2ec8a
[SystemZ] Add -march=archX aliases

For compatibility with other compilers on the platform, allow specifying
levels of the z/Architecture instead of model names with -march.  In
particular, the following aliases are now supported:

  -march=arch8   equals  -march=z10
  -march=arch9   equals  -march=z196
  -march=arch10  equals  -march=zEC12
  -march=arch11  equals  -march=z13

This parallels the equivalent (and prerequisite) LLVM change in r285577.

llvm-svn: 285578
clang/lib/Basic/Targets.cpp
clang/test/CodeGen/systemz-abi-vector.c
clang/test/CodeGen/systemz-abi.c
clang/test/CodeGen/target-data.c
clang/test/Driver/systemz-march.c
clang/test/Preprocessor/predefined-arch-macros.c