[PATCH] D30344: [MemorySSA] Add OptimizeUses flag

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 10:53:42 PST 2017


Prazek added a comment.

In https://reviews.llvm.org/D30344#685994, @dberlin wrote:

> Please, no.
>  If you need a flag, please make a hidden command line flag.
>
> This should not be user controllable.


Is there a way to pass command line flag in unit tests?
I will have to write a couple of tests using invariant.group, and I would like to avoid hacky tricks like in this test, which would make it simpler.


https://reviews.llvm.org/D30344





More information about the llvm-commits mailing list