[PATCH] D53895: [LoopUnroll] add parsing for unroll parameters in -passes pipeline

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 2 11:09:32 PDT 2018


fedor.sergeev added a comment.

In https://reviews.llvm.org/D53895#1285582, @philip.pfaffe wrote:

> What is the advantage of this over using command line args? 
>  Obviously you can do per-pass-instance configuration, but is that ever necessary in parsed pipelines?


This comes as a followup to https://reviews.llvm.org/D53440, where I needed to test LoopUnrollOptions change and hence a way to specify a single pass instance having arguments different from a global configuration.
I can also imagine this being useful during bug triaging in some corner cases - our downstream pipeline uses different flavors of loop-unroll routinely.


Repository:
  rL LLVM

https://reviews.llvm.org/D53895





More information about the llvm-commits mailing list