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

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 15:02:43 PST 2017


probinson added a comment.

I guess I'm getting irritated because people are trying to tell me what optnone means. I know what it means; I spent probably a whole year pushing to get it adopted.

Optnone means:  When you are running optimizations, try not to optimize this part, if you can.

That's it.  That's *all*.  It has never meant anything else.  Telling me different means you misunderstand, and trying to persuade me that *I* misunderstand is going to be a waste of time and effort.

I fully understand that this is not the definition of optnone that you *want*.  Please feel free to propose a redefinition.  But don't go telling me that the thing you *want* is what the thing already *is* and that any difference is a bug.


https://reviews.llvm.org/D28404





More information about the cfe-commits mailing list