[PATCH] D71072: [PGO][PGSO] Instrument the code gen / target passes.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 10:15:06 PST 2019


davidxl added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineBlockPlacement.cpp:2795
+    // If the global profiles indicates so, don't align it.
+    if (llvm::shouldOptimizeForSize(ChainBB, PSI, &MBFI->getMBFI()) &&
+        !TLI->alignLoopsWithOptSize())
----------------
This looks like a new opt-size logic -- better split out.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71072





More information about the llvm-commits mailing list