[PATCH] D64376: [MBP] Avoid tail duplication if it can't bring benefit

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 11:48:02 PST 2019


davidxl added inline comments.


================
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:1164
+  if ((NumDup > Succ->succ_size()) || !Duplicate)
+    return false;
   return true;
----------------
Can you add a // FIXME here to add support to tail dup to some of the predecessors.


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

https://reviews.llvm.org/D64376





More information about the llvm-commits mailing list