[PATCH] D97982: [MC] Introduce NeverAlign fragment type
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 30 20:29:34 PDT 2021
Amir added a comment.
Do I need to add some documentation for the new assembler directive?
================
Comment at: llvm/lib/MC/MCAssembler.cpp:362
+ // Check if the next fragment ends at the alignment we want to avoid.
+ if ((Offset + NextFragSize) % NAF.getAlignment() == 0) {
+ // Avoid this alignment by introducing minimum nop.
----------------
Better reuse isAgainstBoundary
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97982/new/
https://reviews.llvm.org/D97982
More information about the llvm-commits
mailing list