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
Paths
| Differential D124676
[clang][OpenMP] Local variable alignment incorrect with align clause ClosedPublic Authored by ddpagan on Apr 29 2022, 8:23 AM.
Details Summary 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
Diff Detail Event Timeline
This revision is now accepted and ready to land.May 2 2022, 10:56 AM Closed by commit rG37471cf2c3fd: [clang][OpenMP] Local variable alignment incorrect with align clause (authored by ddpagan, committed by mikerice). · Explain WhyMay 3 2022, 1:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 426453 clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/align_clause_codegen.cpp
|