[PATCH] D132508: [MC] Let assembler decide the fill value for p2align instead of 0x0

Stephen Long via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 15:17:17 PDT 2022


steplong created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
steplong requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Instead of filling padding bytes with 0, let the assembler fill it
with zero or no-op instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132508

Files:
  llvm/lib/MC/MCAsmStreamer.cpp
  llvm/test/CodeGen/AArch64/aarch64-p2align-max-bytes-neoverse.ll
  llvm/test/CodeGen/AArch64/aarch64-p2align-max-bytes.ll
  llvm/test/CodeGen/AArch64/aarch64-sched-store.ll
  llvm/test/CodeGen/AArch64/merge-store-dependency.ll
  llvm/test/MC/AsmParser/directive_align.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132508.454986.patch
Type: text/x-patch
Size: 4355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/23b7cfad/attachment.bin>


More information about the llvm-commits mailing list