Global variables that are external and zero initialized are
supposed to be merged with global variables in the bss section
rather than the data section.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D51379
[GlobalMerge] Fix GlobalMerge on bss external global variables. ClosedPublic Authored by huihuiz on Aug 28 2018, 1:38 PM.
Details Summary Global variables that are external and zero initialized are
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 29 2018, 12:38 PM Closed by commit rL341008: [GlobalMerge] Fix GlobalMerge on bss external global variables. (authored by huihuiz). · Explain WhyAug 29 2018, 5:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 163240 llvm/trunk/lib/CodeGen/GlobalMerge.cpp
llvm/trunk/test/CodeGen/AArch64/global-merge-3.ll
llvm/trunk/test/CodeGen/ARM/global-merge-external-2.ll
|