[PATCH] D116462: [SPIRV 3/6] Add MC layer, object file support and InstPrinter
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 16:40:02 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp:86
+ SRE = dyn_cast<MCSymbolRefExpr>(Expr);
+ assert(SRE && "Unexpected MCExpr type.");
+
----------------
Remove assert and switch the dyn_casts above to cast
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116462/new/
https://reviews.llvm.org/D116462
More information about the llvm-commits
mailing list