[PATCH] D38631: [SimplifyCFG] use pass options and remove the latesimplifycfg pass

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 08:10:02 PDT 2017


spatel added inline comments.


================
Comment at: include/llvm/Transforms/Scalar.h:185-187
 Pass *createLoopUnrollPass(int OptLevel = 2, int Threshold = -1, int Count = -1,
                            int AllowPartial = -1, int Runtime = -1,
                            int UpperBound = -1, int AllowPeeling = -1);
----------------
This is an example of the legacy PM API that I modeled the simplifyCFG creator wrapper on.


https://reviews.llvm.org/D38631





More information about the llvm-commits mailing list