[llvm] [WIP][AMDGPU] Support the RF inline asm constraint (PR #195123)

Jun Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 15:50:43 PDT 2026


================
@@ -1897,6 +1896,18 @@ bool AMDGPUAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
   return true;
 }
 
+bool AMDGPUAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
+                                             unsigned OpNo,
+                                             const char *ExtraCode,
+                                             raw_ostream &OS) {
+  const MachineOperand &MO = MI->getOperand(OpNo);
+  if (!MO.isReg())
----------------
jwanggit86 wrote:

Fixed.

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


More information about the llvm-commits mailing list