summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU] Add a pass to promote bitcast callsScott Linder2018-10-261-0/+63
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
OpenPOWER on IntegriCloud