]> granicus.if.org Git - clang/commit
[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)
commitaa2d2f8af67d7f43f18374ee10bdf5d1a363e9bc
treebc333ff1fbc1cdfabcf8cb844efcf11a0135f817
parentba837daed3d783daa542f11e248d3f3090a0834f
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285578 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/systemz-abi-vector.c
test/CodeGen/systemz-abi.c
test/CodeGen/target-data.c
test/Driver/systemz-march.c
test/Preprocessor/predefined-arch-macros.c