[PATCH] D75203: Relax existing instructions to reduce the number of nops needed for alignment purposes
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 29 02:31:44 PST 2020
skan added inline comments.
================
Comment at: llvm/lib/MC/MCAssembler.cpp:1249-1251
+ // Unlike align, boundary align tracks it's own size after relaxation.
+ if (F.getKind() == MCFragment::FT_BoundaryAlign)
+ cast<MCBoundaryAlignFragment>(F).setSize(RemainingSize);
----------------
We can avoid setting size for boundaryalign with D75404
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75203/new/
https://reviews.llvm.org/D75203
More information about the llvm-commits
mailing list