Skip to content

Commit

Permalink
embarassing bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jan 18, 2025
1 parent 8e96966 commit c4f953f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ static void emitMLIRReverse(raw_ostream &os, const Record *pattern,
next.push_back(treeEn.index());
if (auto dg = dyn_cast<DagInit>(tree)) {
if (name.size()) {
\ auto VopName = dg->getOperator()->getAsString();
auto VopName = dg->getOperator()->getAsString();
auto Def = cast<DefInit>(dg->getOperator())->getDef();
if (VopName == "Variadic" || Def->isSubClassOf("Variadic")) {
auto expr = Def->getValueAsString("getter");
Expand Down

0 comments on commit c4f953f

Please sign in to comment.