[PATCH] D51379: [GlobalMerge] Fix GlobalMerge on bss external global variables.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 28 13:38:49 PDT 2018


huihuiz created this revision.
huihuiz added reviewers: efriedma, rengolin, t.p.northover.
Herald added a reviewer: javed.absar.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D51379

Files:
  lib/CodeGen/GlobalMerge.cpp
  test/CodeGen/AArch64/global-merge-3.ll
  test/CodeGen/ARM/global-merge-external-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51379.162941.patch
Type: text/x-patch
Size: 6516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180828/871b7ff0/attachment.bin>


More information about the llvm-commits mailing list