[llvm] [Xtensa] Implement SEXT, NSA, MINMAX and Loop Xtensa Options. (PR #133818)
Andrei Safronov via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 4 16:35:46 PDT 2025
================
@@ -105,6 +105,21 @@ void XtensaInstPrinter::printBranchTarget(const MCInst *MI, int OpNum,
llvm_unreachable("Invalid operand");
}
+void XtensaInstPrinter::printLoopTarget(const MCInst *MI, int OpNum,
+ raw_ostream &OS) {
+ const MCOperand &MC = MI->getOperand(OpNum);
+ if (MI->getOperand(OpNum).isImm()) {
+ int64_t Val = MC.getImm() + 4;
+ OS << ". ";
----------------
andreisfr wrote:
@MaskRay , thank you very much for comments. I fixed descriptions for several address operands (added OPERAND_PCREL to descriptions), could you PTAL?
https://github.com/llvm/llvm-project/pull/133818
More information about the llvm-commits
mailing list