[llvm] [AMDGPU] Support SIProgramInfo MCExpr for comments and remarks (PR #94350)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 08:03:37 PDT 2024


================
@@ -400,6 +400,37 @@ void AMDGPUAsmPrinter::emitCommonFunctionComments(
                               false);
 }
 
+std::string AMDGPUAsmPrinter::getMCExprStr(const MCExpr *Value) {
+  std::string Str;
----------------
arsenm wrote:

SmallString?

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


More information about the llvm-commits mailing list