Legacy createLoopUnrollPass provides threshold parameter. This patch
brings the support to new-pm LoopUnrollPass.
Our downstream uses LoopUnroll pass with small threshold for fine tuning, so we want the support for new pm.
wenju on Apr 24 2022, 7:58 PM.Authored by
Thanks for the suggestion.
Yes, our pipeline contains several calls of LoopUnroll pass with different thresholds, so I think getUnrollingPreferences or overriding command line option wouldn't work.