[all-commits] [llvm/llvm-project] 481bb4: [SystemZ] Emit a .gnu_attribute for an externally ...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Dec 6 10:54:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 481bb44baab5ce7a005b7d7eee6cafbde672695c
      https://github.com/llvm/llvm-project/commit/481bb44baab5ce7a005b7d7eee6cafbde672695c
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

  Changed paths:
    M clang/lib/CodeGen/CodeGenTypes.h
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-00.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-01.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-02.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-03.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-04.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-05.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-06.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-07.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-08.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-09.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-10.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-11.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-12.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-13.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-14.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-15.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-16.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-17.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-18.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-19.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-20.cpp
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-21.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-22.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-23.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-24.c
    M llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
    A llvm/test/MC/SystemZ/gnu-attributes.s

  Log Message:
  -----------
  [SystemZ] Emit a .gnu_attribute for an externally visible vector abi.

On SystemZ, the vector ABI changes depending on the presence of hardware
vector support. Therefore, each binary compiled with a visible vector ABI
(e.g. one that calls an external function with a vector argument) should be
marked with a .gnu_attribute describing this.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D105067




More information about the All-commits mailing list