[PATCH] D83265: [MBP] Use profile count to compute tail dup cost if it is available

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 09:38:55 PDT 2020


davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: llvm/lib/CodeGen/MachineBlockPlacement.cpp:181
+// Heuristic for tail duplication if profile count is used in cost model.
+static cl::opt<unsigned> TailDupProfileCountThreshold(
+    "tail-dup-profile-count-threshold",
----------------
Nit: TailDupProfilePercentThreshold


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

https://reviews.llvm.org/D83265





More information about the llvm-commits mailing list