We need to pass something to functions for this to work.
It isn't derivable just from the kernarg segment pointer
because the implicit arguments are placed after the
kernel arguments.
Also fixes missing test for the intrinsic.
Paths
| Differential D35971
AMDGPU: Annotate implicitarg.ptr usage ClosedPublic Authored by arsenm on Jul 27 2017, 7:01 PM.
Details
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 3 others. · View Herald TranscriptJul 27 2017, 7:01 PM This revision is now accepted and ready to land.Jul 27 2017, 9:13 PM
Revision Contents
Diff 108569 lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.h
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
test/CodeGen/AMDGPU/llvm.amdgcn.implicitarg.ptr.ll
|