summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix option desc in FunctionAttrs; NFCWeiming Zhao2016-01-061-1/+1
| | | | | | | | | | Summary: The example in desc should match with actual option name Reviewers: jmolloy Differential Revision: http://reviews.llvm.org/D15800 llvm-svn: 256951
* [attrs] Split off the forced attributes utility into its own pass thatChandler Carruth2015-12-271-0/+121
is (by default) run much earlier than FuncitonAttrs proper. This allows forcing optnone or other widely impactful attributes. It is also a bit simpler as the force attribute behavior needs no specific iteration order. I've added the pass into the default module pass pipeline and LTO pass pipeline which mirrors where function attrs itself was being run. Differential Revision: http://reviews.llvm.org/D15668 llvm-svn: 256465
OpenPOWER on IntegriCloud