[PATCH] D26155: Enable Loop Sink pass for functions that has profile.
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 8 16:14:15 PST 2016
hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Transforms/Scalar/LoopSink.cpp:246
+ if (!Preheader->getParent()->getEntryCount())
+ return false;
----------------
Please add a comment here explaining why you're doing this.
https://reviews.llvm.org/D26155
More information about the llvm-commits
mailing list