[all-commits] [llvm/llvm-project] 37471c: [clang][OpenMP] Local variable alignment incorrect...

David Pagan via All-commits all-commits at lists.llvm.org
Tue May 3 13:20:49 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37471cf2c3fd02fac0b0dc6e513cfe6098f37764
  Author: David Pagan <david.pagan at intel.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/align_clause_codegen.cpp

  Log Message:
  [clang][OpenMP] Local variable alignment incorrect with align clause

If alignment specified with align clause is less than natural alignment for
list item type, the alignment should be set to the natural alignment.

See OMP5.1 specification, page 185, lines 7-10

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

More information about the All-commits mailing list