[all-commits] [llvm/llvm-project] 0eff46: [SystemZ] Fix handling of vectors and their exposu...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri Jan 27 11:24:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eff46f87f16772f93bdc584865e945162aff170
      https://github.com/llvm/llvm-project/commit/0eff46f87f16772f93bdc584865e945162aff170
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-03b.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-08b.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-09b.c
    A clang/test/CodeGen/SystemZ/vec-abi-gnuattr-17b.c
    M clang/test/CodeGen/SystemZ/vec-abi-gnuattr-24.c

  Log Message:
  -----------
  [SystemZ] Fix handling of vectors and their exposure of the vector ABI.

- Global vector variables expose the vector ABI through their alignments only
  if they are >=16 bytes in size.

- Vectors passed between functions expose the vector ABI only if they are
  <=16 bytes in size.

LLVM test suite builds with gcc/clang now give the same gnu attributes emitted.

Reviewed By: Ulrich Weigand

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




More information about the All-commits mailing list