Skip to content

Commit

Permalink
Xtensa: Add GenCSInsnFormatsEnum.inc support
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed Nov 4, 2024
1 parent 69e3d20 commit d7047de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/utils/TableGen/PrinterCapstone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3652,7 +3652,7 @@ void PrinterCapstone::asmMatcherEmitMatchTable(CodeGenTarget const &Target,
writeFile(InsnMapFilename, AliasEnumStr);
InsnMapFilename = TName + "GenCSAliasMnemMap.inc";
writeFile(InsnMapFilename, AliasMnemMapStr);
if (TName == "PPC" || TName == "LoongArch" || TName == "SystemZ") {
if (TName == "PPC" || TName == "LoongArch" || TName == "SystemZ" || TName == "Xtensa") {
InsnMapFilename = TName + "GenCSInsnFormatsEnum.inc";
writeFile(InsnMapFilename, FormatEnumStr);
}
Expand Down

0 comments on commit d7047de

Please sign in to comment.