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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to