[PATCH] D72225: Align branches within 32-Byte boundary(Prefix padding)
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 04:14:09 PST 2020
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp:608
+ if (isMacroFused(PrevInst, Inst)) {
+ if (isa_and_nonnull<MCAlignFragment>(PF->getPrevNode()))
+ return;
----------------
I notice line 623 also check the MCAlignFragment. Is it better to check MCAlignFragment at the beginning, and return without insert any MCBoundaryAlignFragment if the previous fragment is MCAlignFragment? In the following code, we can assume the previous fragment is not MCAlignFragment.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72225/new/
https://reviews.llvm.org/D72225
More information about the llvm-commits
mailing list