[all-commits] [llvm/llvm-project] 0858f0: [SystemZ][z/OS] Set maximum value to truncate attr...

Fanbo Meng via All-commits all-commits at lists.llvm.org
Mon Mar 29 06:44:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0858f0e09e33f62fc1dcc45e0bdec47eee1e23ba
      https://github.com/llvm/llvm-project/commit/0858f0e09e33f62fc1dcc45e0bdec47eee1e23ba
  Author: Fanbo Meng <fanbo.meng at ibm.com>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Basic/TargetInfo.cpp
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/test/CodeGen/SystemZ/zos-alignment.c

  Log Message:
  -----------
  [SystemZ][z/OS] Set maximum value to truncate attribute aligned to for static variables on z/OS target

On z/OS there is a hard limitation on on the maximum requestable alignment in aligned attribute for static variables. We need to truncate values greater than that.

Reviewed By: abhina.sreeskantharajan

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




More information about the All-commits mailing list