| commit | 11ef7984b07b19b5e6cdc7c50daa6674b844bb27 | [log] [tgz] |
|---|---|---|
| author | Scott Linder <scott@scottlinder.com> | Fri Oct 26 13:18:36 2018 +0000 |
| committer | Scott Linder <scott@scottlinder.com> | Fri Oct 26 13:18:36 2018 +0000 |
| tree | cfa97662cbad9232b8e6162ed6c7797be83c3c54 | |
| parent | 08701ec753a64cd039957861c491cc72b06a0965 [diff] |
[AMDGPU] Add a pass to promote bitcast calls AMDGPU currently only supports direct calls, but at lower optimisation levels it fails to lower statically direct calls which appear indirect due to a bitcast. Add a pass to visit all CallSites and use CallPromotionUtils to "devirtualize" calls. Differential Revision: https://reviews.llvm.org/D52741 llvm-svn: 345382