Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add, and infer, a nofree function attribute | Brian Homerding | 2019-07-08 | 1 | -3/+3 |
| | | | | | | | | | | | | This patch adds a function attribute, nofree, to indicate that a function does not, directly or indirectly, call a memory-deallocation function (e.g., free, C++'s operator delete). Reviewers: jdoerfert Differential Revision: https://reviews.llvm.org/D49165 llvm-svn: 365336 | ||||
* | [AMDGPU] Set fast-math flags on functions given the options | Stanislav Mekhanoshin | 2017-09-29 | 1 | -0/+33 |
We have a single library build without relaxation options. When inlined library functions remove fast math attributes from the functions they are integrated into. This patch sets relaxation attributes on the functions after linking provided corresponding relaxation options are given. Math instructions inside the inlined functions remain to have no fast flags, but inlining does not prevent fast math transformations of a surrounding caller code anymore. Differential Revision: https://reviews.llvm.org/D38325 llvm-svn: 314568 |