[all-commits] [llvm/llvm-project] 77e71c: [AIX] Don't use a zero fill with a second parameter

David Tenty via All-commits all-commits at lists.llvm.org
Mon Feb 3 12:16:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 77e71c521726a7d3fce3d6dddbba9887d1a225c7
      https://github.com/llvm/llvm-project/commit/77e71c521726a7d3fce3d6dddbba9887d1a225c7
  Author: David Tenty <daltenty at ibm.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
    A llvm/test/CodeGen/PowerPC/aix-nonzero-zerofill.ll

  Log Message:
  -----------
  [AIX] Don't use a zero fill with a second parameter

Summary:
The AIX assembler .space directive can't take a second non-zero argument to fill
with. But LLVM emitFill currently assumes it can. We add a flag to the AsmInfo
to check if non-zero fill is supported, and if we can't zerofill non-zero values
we just splat the .byte directives.

Reviewers: stevewan, sfertile, DiggerLin, jasonliu, Xiangling_L

Reviewed By: jasonliu

Subscribers: Xiangling_L, wuzish, nemanjai, hiraditya, kbarton, jsji, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list