[AMDGPU] Do not annotate features for graphics
authorSebastian Neubauer <sebastian.neubauer@amd.com>
Mon, 3 May 2021 08:33:11 +0000 (10:33 +0200)
committerSebastian Neubauer <sebastian.neubauer@amd.com>
Mon, 3 May 2021 08:33:11 +0000 (10:33 +0200)
commitc0c8548b70685533da46d9453eac9f3cfb22ccc6
tree09cf7fbc94804346b8ba6c78596fc4c055ae145e
parent5112bd6b6e10b27b81aa83cfdbe3588973a6f1f5
[AMDGPU] Do not annotate features for graphics

SITargetLowering::LowerFormalArguments asserts that none of these
features are used for graphics calling conventions, so
AnnotateKernelFeatures should not add them.

Differential Revision: https://reviews.llvm.org/D101534
llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll [new file with mode: 0644]