summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/early-inline.ll
Commit message (Collapse)AuthorAgeFilesLines
* Reapply "AMDGPU: Force inlining if LDS global address is used"Matt Arsenault2018-07-101-1/+9
| | | | | | This reverts commit r336623 llvm-svn: 336675
* Revert "AMDGPU: Force inlining if LDS global address is used"Vlad Tsyrklevich2018-07-101-9/+1
| | | | | | | This reverts commit r336587, it was causing test failures on the sanitizer bots. llvm-svn: 336623
* AMDGPU: Force inlining if LDS global address is usedMatt Arsenault2018-07-091-1/+9
| | | | | | | | | | These won't work for the forseeable future. These aren't allowed from OpenCL, but IPO optimizations can make them appear. Also directly set the attributes on functions, regardless of the linkage rather than cloning functions like before. llvm-svn: 336587
* [PassManager] Run global optimizations after the inliner.Davide Italiano2017-10-051-1/+1
| | | | | | | | | | | | | | | The inliner performs some kind of dead code elimination as it goes, but there are cases that are not really caught by it. We might at some point consider teaching the inliner about them, but it is OK for now to run GlobalOpt + GlobalDCE in tandem as their benefits generally outweight the cost, making the whole pipeline faster. This fixes PR34652. Differential Revision: https://reviews.llvm.org/D38154 llvm-svn: 314997
* Verifier: Check some amdgpu calling convention restrictionsMatt Arsenault2017-04-041-2/+3
| | | | llvm-svn: 299457
* [AMDGPU] Add GlobalOpt parameter to Always Inliner passStanislav Mekhanoshin2017-03-301-0/+3
| | | | | | | | | If set to false it does not remove global aliases. With this parameter set to false it should be safe to run the pass before link. Differential Revision: https://reviews.llvm.org/D31489 llvm-svn: 299108
* [AMDGPU] Split -amdgpu-early-inline-all optionStanislav Mekhanoshin2017-03-281-1/+1
| | | | | | | | | | Previously it was covered by the internalization. It turns out we cannot run internalizer in FE, it break separate compilation tests. Thus early inliner gets its own option. Differential Revision: https://reviews.llvm.org/D31429 llvm-svn: 298935
* [AMDGPU] Run always inliner early in optKonstantin Zhuravlyov2017-03-201-0/+21
| | | | | | Differential Revision: https://reviews.llvm.org/D31141 llvm-svn: 298281
* Revert "[AMDGPU] Run always inliner early in opt"Konstantin Zhuravlyov2017-03-201-21/+0
| | | | | | This reverts commit r297958, it breaks device-libs build. llvm-svn: 298239
* [AMDGPU] Run always inliner early in optStanislav Mekhanoshin2017-03-161-0/+21
We can mark functions to always inline early in the opt. Since we do not have call support this early inlining creates opportunities for inter-procedural optimizations which would not occur otherwise. Differential Revision: https://reviews.llvm.org/D31016 llvm-svn: 297958
OpenPOWER on IntegriCloud