[llvm] [SPARC] Implement L and H inline asm argument modifiers (PR #87259)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 1 12:39:39 PDT 2024
================
@@ -434,6 +434,48 @@ bool SparcAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
default:
// See if this is a generic print operand
return AsmPrinter::PrintAsmOperand(MI, OpNo, ExtraCode, O);
+ case 'L': // Low order register of a twin word register operand
+ case 'H': // High order register of a twin word register operand
+ {
+ if (OpNo == 0)
----------------
s-barannikov wrote:
Why is it silently skipped? This deserves a comment, at least.
https://github.com/llvm/llvm-project/pull/87259
More information about the llvm-commits
mailing list