[all-commits] [llvm/llvm-project] 525af9: [MC] Omit fill value if it's zero when emitting co...

Stephen Long via All-commits all-commits at lists.llvm.org
Thu Aug 25 10:07:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525af9f8eb51b1eb2c800eee116a0c81e1d5a5da
      https://github.com/llvm/llvm-project/commit/525af9f8eb51b1eb2c800eee116a0c81e1d5a5da
  Author: Stephen Long <steplong at quicinc.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/test/CodeGen/AArch64/aarch64-p2align-max-bytes-neoverse.ll
    M llvm/test/CodeGen/AArch64/aarch64-p2align-max-bytes.ll
    M llvm/test/CodeGen/AArch64/aarch64-sched-store.ll
    M llvm/test/CodeGen/AArch64/arm64-promote-const-complex-initializers.ll
    M llvm/test/CodeGen/AArch64/merge-store-dependency.ll
    A llvm/test/CodeGen/AArch64/p2align-zero-fillvalue.ll
    M llvm/test/CodeGen/ARM/byval_load_align.ll
    M llvm/test/CodeGen/WebAssembly/global.ll
    M llvm/test/DebugInfo/COFF/globals.ll

  Log Message:
  -----------
  [MC] Omit fill value if it's zero when emitting code alignment

Previously, we were generating zeroes when generating code alignments for AArch64, but now we should omit the value and let the assembler choose to generate nops or zeroes.

Reviewed By: efriedma, MaskRay

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




More information about the All-commits mailing list