[PATCH] D23390: Tail Duplication: Accept explicit threshold for duplicating.
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 12 09:56:11 PDT 2016
davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.
lgtm. Pleas split out optSize change.
================
Comment at: lib/CodeGen/TailDuplicator.cpp:525
@@ -524,1 +524,3 @@
+ TailDuplicateSize.getNumOccurrences() == 0 &&
+ MF.getFunction()->optForSize())
MaxDuplicateCount = 1;
----------------
I would rather you split this optSize change out.
Repository:
rL LLVM
https://reviews.llvm.org/D23390
More information about the llvm-commits
mailing list