[PATCH] D72225: Align branches within 32-Byte boundary(Prefix padding)
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 23:37:03 PST 2020
skan marked an inline comment as done.
skan added inline comments.
================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp:560
+ // since there is no clear instruction boundary.
+ if (isa_and_nonnull<MCDataFragment>(CF) && !CF->hasInstructions())
+ return;
----------------
reames wrote:
> Please remove this. It should be covered by the compiler support patch which already landed for compiled code, and he assembler syntax is separate.
Remove this will cause test align-branch-32-2a.s to fail. This check is simply and direct, I think we can keep this currently.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72225/new/
https://reviews.llvm.org/D72225
More information about the llvm-commits
mailing list