[all-commits] [llvm/llvm-project] 68a80a: [SystemZ] Ensure -mno-vx disables any use of vecto...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Thu Jul 23 06:35:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 68a80a4436c63692d4b820fb190ca6c12e7902e0
      https://github.com/llvm/llvm-project/commit/68a80a4436c63692d4b820fb190ca6c12e7902e0
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
    A llvm/test/CodeGen/SystemZ/no-vx.ll

  Log Message:
  -----------
  [SystemZ] Ensure -mno-vx disables any use of vector features

When passing the -vector feature to LLVM (or equivalently the
-mno-vx command line argument to clang), the intent is that
generated code must not use any vector features (in particular,
no vector registers must be used).

However, there are some cases where we still could generate
such uses; these are all related to some of the additional
vector features (like +vector-enhancements-1).  Since none
of those features are actually usable with -vector, just make
sure we disable them all if -vector is given.




More information about the All-commits mailing list