Skip to content

Commit

Permalink
Fix concat
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Sep 20, 2023
1 parent 42d47f2 commit e124a85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion enzyme/tools/enzyme-tblgen/blas-tblgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,13 @@ void rev_call_arg(DagInit *ruleDag, Rule &rule, size_t actArg, size_t pos,
return;
}
if (Def->getName() == "Concat") {
os << "concat_values(";
os << "concat_values<";
for (size_t i = 0; i < Dag->getNumArgs(); i++) {
if (i != 0)
os << ", ";
os << "ArrayRef<Value*>";
}
os << ">(";
for (size_t i = 0; i < Dag->getNumArgs(); i++) {
if (i != 0)
os << ", ";
Expand Down

0 comments on commit e124a85

Please sign in to comment.