Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PPCGCodeGen] Convert intrinsics to libdevice functions whenever possible. | Siddharth Bhat | 2017-08-31 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | | This is useful when we face certain intrinsics such as `llvm.exp.*` which cannot be lowered by the NVPTX backend while other intrinsics can. So, we would need to keep blacklists of intrinsics that cannot be handled by the NVPTX backend. It is much simpler to try and promote all intrinsics to libdevice versions. This patch makes function/intrinsic very uniform, and will always try to use a libdevice version if it exists. Differential Revision: https://reviews.llvm.org/D37056 llvm-svn: 312239 | ||||
* | [GPGPU] Add log / logf to the libdevice supported functions | Tobias Grosser | 2017-08-21 | 1 | -4/+8 |
| | | | | | | These two functions are used in COSMO llvm-svn: 311322 | ||||
* | [GPGPU] Rename all, not only the first libdevice function | Tobias Grosser | 2017-08-06 | 1 | -0/+4 |
| | | | | llvm-svn: 310194 | ||||
* | [GPGPU] Add support for NVIDIA libdevice | Tobias Grosser | 2017-07-31 | 1 | -0/+74 |
Summary: This allows us to map functions such as exp, expf, expl, for which no LLVM intrinsics exist. Instead, we link to NVIDIA's libdevice which provides high-performance implementations of a wide range of (math) functions. We currently link only a small subset, the exp, cos and copysign functions. Other functions will be enabled as needed. Reviewers: bollu, singam-sanjay Reviewed By: bollu Subscribers: tstellar, tra, nemanjai, pollydev, mgorny, llvm-commits, kbarton Tags: #polly Differential Revision: https://reviews.llvm.org/D35703 llvm-svn: 309560 |