[PATCH] D30920: Do not pass -Os and -Oz to the Gold plugin

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 24 14:18:37 PDT 2017


mehdi_amini added a subscriber: joerg.
mehdi_amini added a comment.

In https://reviews.llvm.org/D30920#710209, @hfinkel wrote:

> Yes, we should do this. I don't understand why this is tricky. Actually, I think having these kinds of decisions explicit in the code of the transformations would be a positive development.


I think a high reason why I consider this tricky, it the part where I mentioned that a single pass can have different behavior/level depending on where it is in the pipeline.
But recently @joerg split SimplifyCFG into two wrapper passes, which may be a good way of achieving what you're describing.


https://reviews.llvm.org/D30920





More information about the cfe-commits mailing list