[PATCH] D67512: Allow -scalar-evolution-max-iterations more than once
Enrico Tanuwidjaja via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 13:57:14 PDT 2019
enrico271 added a comment.
@xbolva00 Thanks for your input!
The idea is similar to this change: https://reviews.llvm.org/D34219. I don't view it as a workaround, but rather it increases flexibility in the flag usage. The expected behavior is already well documented:
> The cl::ZeroOrMore modifier ... indicates that your program will allow the option to be specified zero or more times.
> If an option is specified multiple times for an option of the cl::opt class, only the last value will be retained.
I see a bunch of other flags use `cl::ZeroOrMore` as well so I believe this is no different.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67512/new/
https://reviews.llvm.org/D67512
More information about the llvm-commits
mailing list