Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [AMDGPU] Turn AMDGPUUnifyMetadata back into module pass | Stanislav Mekhanoshin | 2017-01-27 | 1 | -15/+3 |
| | | | | | | | | | With the adjustPassManager interface that is now possible to use custom early module passes. Differential Revision: https://reviews.llvm.org/D29189 llvm-svn: 293300 | ||||
* | [AMDGPU] Fix some Clang-tidy modernize and Include What You Use warnings; ↵ | Eugene Zelenko | 2017-01-20 | 1 | -3/+12 |
| | | | | | | other minor fixes (NFC). llvm-svn: 292623 | ||||
* | [AMDGPU] When unifying metadata, add operands to named metadata individually | Konstantin Zhuravlyov | 2016-12-19 | 1 | -3/+5 |
| | | | | | | Differential Revision: https://reviews.llvm.org/D27725 llvm-svn: 290114 | ||||
* | [AMDGPU] Add amdgpu-unify-metadata pass | Stanislav Mekhanoshin | 2016-12-08 | 1 | -0/+147 |
Multiple metadata values for records such as opencl.ocl.version, llvm.ident and similar are created after linking several modules. For some of them, notably opencl.ocl.version, this creates semantic problem because we cannot tell which version of OpenCL the composite module conforms. Moreover, such repetitions of identical values often create a huge list of unneeded metadata, which grows bitcode size both in memory and stored on disk. It can go up to several Mb when linked against our OpenCL library. Lastly, such long lists obscure reading of dumped IR. The pass unifies metadata after linking. Differential Revision: https://reviews.llvm.org/D25381 llvm-svn: 289092 |