[llvm] [Xtensa] Implement support of the ESP32S2 target. (PR #200130)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 02:20:31 PDT 2026


================
@@ -439,3 +439,14 @@ void XtensaInstPrinter::printImm7_22_AsmOperand(const MCInst *MI, int OpNum,
   } else
     printOperand(MI, OpNum, O);
 }
+
+void XtensaInstPrinter::printSelect_256_AsmOperand(const MCInst *MI, int OpNum,
+                                                   raw_ostream &O) {
+  if (MI->getOperand(OpNum).isImm()) {
+    int64_t Value = MI->getOperand(OpNum).getImm();
+    assert((Value >= 0 && Value <= 255) &&
----------------
arsenm wrote:

isUInt<8>?

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


More information about the llvm-commits mailing list