This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Don't use emitFunctionEntryLabel() from the base AsmPrinter
Needs ReviewPublic

Authored by rochauha on Jul 14 2020, 7:43 AM.



AMDGPUAsmPrinter::emitFunctionEntryLabel() relies on the base implementation to actually emit the function entry label.
AMDGPU kernel symbols have global binding. The base implementation tends to add another local symbol in such a case, which is unwanted.

Diff Detail

Event Timeline

rochauha created this revision.Jul 14 2020, 7:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2020, 7:43 AM