diff options
author | Zaara Syeda <syzaara@ca.ibm.com> | 2024-11-19 09:58:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 09:58:25 -0500 |
commit | 8e4423eb0888e5fe381a23ec1fa6969f2d096ed1 (patch) | |
tree | c70d83b9531acfaa56c036bca32b7d94d53030c3 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | aff98e4be05a1060e489ce62a88ee0ff365e571a (diff) | |
download | llvm-8e4423eb0888e5fe381a23ec1fa6969f2d096ed1.zip llvm-8e4423eb0888e5fe381a23ec1fa6969f2d096ed1.tar.gz llvm-8e4423eb0888e5fe381a23ec1fa6969f2d096ed1.tar.bz2 |
[AsmPrinter] Fix handling in emitGlobalConstantImpl for AIX (#116255)
When GlobalMerge creates a MergedGlobal of statics all initialized to
zero, emitGlobalConstantImpl sees a ConstantAggregateZero. This results
in just emitting zeros followed by labels for the aliases. We need to
handle it more like how emitGlobalConstantStruct does by emitting each
global inside the aggregate.
---------
Co-authored-by: Hubert Tong <hubert.reinterpretcast@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions