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.
Paths
| Differential D49035
AMDGPU: Force inlining if LDS global address is used ClosedPublic Authored by arsenm on Jul 6 2018, 10:15 AM.
Details
Diff Detail Event TimelineHerald added subscribers: eraman, t-tye, Anastasia and 5 others. · View Herald TranscriptJul 6 2018, 10:15 AM
This revision is now accepted and ready to land.Jul 9 2018, 11:52 AM
Revision Contents
Diff 154432 lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.h
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
test/CodeGen/AMDGPU/early-inline.ll
test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
test/CodeGen/AMDGPU/stress-calls.ll
|
Why was it cloned and why is it dropped now?