Add an ability to specify the max full unroll count for LoopUnrollPass pass
in pass options.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I might be in need for the morning coffee, but I cant find the actual use of UP.FullUnrollMaxCount...
Comment Actions
Ugh... I was looking for that use in the new code, but it is there in the old code, sorry.
So this patch just adds a pass-level option to provide to an existing control.
Looked through the tests and it seems that we have no tests to check this existing control (no use of -unroll-full-max-count option).
Can you, please, extend your test to check:
- for actual "max" functionality, where max is non-zero and trip-count is either more or less than the max
- both ways of controlling this max-count (-passes and direct option)
Thanks!