[llvm] [AMDGPU] Use directive for kernarg preload header padding (PR #86004)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 05:11:05 PDT 2024
================
@@ -283,6 +283,16 @@ bool AMDGPUTargetAsmStreamer::EmitHSAMetadata(
return true;
}
+bool AMDGPUTargetAsmStreamer::EmitKernargPreloadHeader(
+ const MCSubtargetInfo &STI, bool TrapEnabled) {
+ const char *TrapInstr = TrapEnabled ? "\ts_trap 2" : "\ts_endpgm";
----------------
arsenm wrote:
StringLiteral?
https://github.com/llvm/llvm-project/pull/86004
More information about the llvm-commits
mailing list