[PATCH] D75438: [X86] Reduce the number of emitted fragments due to branch align

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 21:15:35 PST 2020


skan marked an inline comment as done.
skan added inline comments.


================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp:472
+
+  if (PendingBoundaryAlign) {
+    PendingBoundaryAlign->setLastFragment(OS.getCurrentFragment());
----------------
reames wrote:
> Might be good to add an assert here about the expected instructions between pending BA and this one.
How to check the expected instructions here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75438/new/

https://reviews.llvm.org/D75438





More information about the llvm-commits mailing list