[llvm] [AMDGPU] Enable kernel arg preloading with gfx90a (PR #81180)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 09:36:38 PST 2024


================
@@ -756,18 +756,26 @@ bool AMDGPUTargetELFStreamer::EmitHSAMetadata(msgpack::Document &HSAMetadataDoc,
 }
 
 bool AMDGPUTargetAsmStreamer::EmitKernargPreloadHeader(
-    const MCSubtargetInfo &STI) {
-  for (int i = 0; i < 64; ++i) {
+    const MCSubtargetInfo &STI, bool TrapEnabled) {
+  const char *Warnning = " ; Trap with incompatible firmware that doesn't "
----------------
arsenm wrote:

Typo Warnning. Also use StringLiteral?

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


More information about the llvm-commits mailing list