[all-commits] [llvm/llvm-project] e5e2e0: [PowerPC][XCOFF] Add support for zero initialized ...

Sean Fertile via All-commits all-commits at lists.llvm.org
Mon Nov 11 15:53:21 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e5e2e0a66b033bfe9b75b5a6352d215e02729836
      https://github.com/llvm/llvm-project/commit/e5e2e0a66b033bfe9b75b5a6352d215e02729836
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll

  Log Message:
  -----------
  [PowerPC][XCOFF] Add support for zero initialized global values.

For XCOFF, globals mapped into the .bss section are linked as COMMON
definitions. This behaviour is incorrect for zero initialized data, so
emit those to the .data section instead.

Differential Revision: https://reviews.llvm.org/D69528




More information about the All-commits mailing list