diff options
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | 2024-06-04 11:15:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 11:15:31 -0700 |
commit | c1654c38e8b82a075613fd60f19a179b1c7df2a2 (patch) | |
tree | 6b17587d70151044a37602acd7dfdaa44f35b2a4 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 7103e60f65cb920c2b8dc43aaa9f9402dca4b7a5 (diff) | |
download | llvm-c1654c38e8b82a075613fd60f19a179b1c7df2a2.zip llvm-c1654c38e8b82a075613fd60f19a179b1c7df2a2.tar.gz llvm-c1654c38e8b82a075613fd60f19a179b1c7df2a2.tar.bz2 |
[flang] Carry over alignment computed by frontend for COMMON (#94280)
The frontend computes the necessary alignment for COMMON blocks but this
information is never carried over to the code generation and can lead to
segfault for COMMON block that requires a non default alignment.
This patch add an optional attribute on fir.global and carries over the
information.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions