[PATCH] D28404: IRGen: Add optnone attribute on function during O0

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 6 13:04:51 PST 2017


probinson added a comment.

Maybe instead, pass a flag to enable setting optnone on everything when the driver sees `-O0 -flto`?  The patch as-is obviously has a massive testing cost, and it's easy to imagine people being tripped up by this in the future.


https://reviews.llvm.org/D28404





More information about the cfe-commits mailing list