[PATCH] D49035: AMDGPU: Force inlining if LDS global address is used
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 6 10:15:19 PDT 2018
arsenm created this revision.
arsenm added reviewers: kzhuravl, tstellar.
Herald added subscribers: eraman, t-tye, Anastasia, tpr, dstuttard, yaxunl, nhaehnle, wdng.
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.
https://reviews.llvm.org/D49035
Files:
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.h
test/CodeGen/AMDGPU/early-inline.ll
test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
test/CodeGen/AMDGPU/stress-calls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49035.154432.patch
Type: text/x-patch
Size: 10937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180706/01daf071/attachment.bin>
More information about the llvm-commits
mailing list