[PATCH] D110660: [WIP][AsmParser] handle .align 0 per MCAsmInfo
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 28 14:36:49 PDT 2021
nickdesaulniers created this revision.
Herald added subscribers: pengfei, hiraditya.
nickdesaulniers requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
While .align 0 may be converted for .align 1 for x86_64 elf, on THUMB2
it's converted to .align 2 (4B alignment).
(WIP: this sets the correct alignment, but doesn't yet insert the
correct amount of NOPs for padding...)
pr/51929.
Link: https://github.com/ClangBuiltLinux/linux/issues/1447
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110660
Files:
llvm/include/llvm/MC/MCAsmInfo.h
llvm/lib/MC/MCAsmInfo.cpp
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h
llvm/test/MC/ARM/thumb-text-align0.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110660.375705.patch
Type: text/x-patch
Size: 4051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/70cf52c2/attachment.bin>
More information about the llvm-commits
mailing list