[PATCH] D20276: [MBP] Reduce code size by running tail merging in MBP

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 12:55:11 PDT 2016


haicheng marked an inline comment as done.

================
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:1479
@@ +1478,3 @@
+  // TailMerge can create jump into if branches that make CFG irreducible for
+  // HW that requires structurized CFG.
+  bool EnableTailMerge = !F.getTarget().requiresStructuredCFG() &&
----------------
majnemer wrote:
> deadalnix wrote:
> > Out of curiosity, do you have example of hardware doing this ?
> WebAssembly IIRC.
I know old AMD GPU had this requirement.  Its IL has instructions like "if_xxx" and "endif".


Repository:
  rL LLVM

http://reviews.llvm.org/D20276





More information about the llvm-commits mailing list