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

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 00:00:25 PST 2025


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

I.e., the best thing I could do is to create a custom target hook to emit the descriptor. The hook was already there.

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


More information about the llvm-commits mailing list