[llvm] [AMDGPU] Fix .Lfunc_end label placement (PR #127549)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 23:58:47 PST 2025


================
@@ -90,6 +91,24 @@ extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAMDGPUAsmPrinter() {
                                      createAMDGPUAsmPrinterPass);
 }
 
+namespace {
+class AMDGPUAsmPrinterHandler : public AsmPrinterHandler {
----------------
rampitec wrote:

Other targets do not print kernel descriptor and do not switch sections inside `emitFunctionBodyEnd` too.

https://github.com/llvm/llvm-project/pull/127549


More information about the llvm-commits mailing list