[PATCH] D64833: [Xtensa 7/10] Add Xtensa instruction printer.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 06:42:18 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/Xtensa/MCTargetDesc/XtensaInstPrinter.cpp:33-34
+
+ if (!(SRE = dyn_cast<MCSymbolRefExpr>(Expr)))
+ assert(false && "Unexpected MCExpr type.");
+
----------------
Just use cast<>
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64833/new/
https://reviews.llvm.org/D64833
More information about the llvm-commits
mailing list