[PATCH] D43423: [SimplifyCFG] Create flag to disable simplifyCFG.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 21 12:27:05 PST 2018


efriedma added a comment.

> FWIW, I'd very much prefer the details of the optimizer wouldn't be exposed as frontend flags.

Yes, definitely this.  Frontend flags to control the optimizer should state an expected result, not just turn off some completely arbitrary set of transforms.  Otherwise, we're likely to end up in a situation in the future where we add a new optimization, or split an existing pass, and it isn't clear which transforms the frontend flag should apply to.


https://reviews.llvm.org/D43423





More information about the cfe-commits mailing list