Skip to content

Commit

Permalink
Update to compile correctly with changes made in apache#16184
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Jan 3, 2024
1 parent febf901 commit 8c0a92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tir/transforms/inline_private_functions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class PrimFuncInliner : StmtExprMutator {
<< "Inlining of PrimFuncs with buffer arguments is not yet supported, "
<< "but callee " << gvar << " has non-empty buffer map " << callee->buffer_map;

Map<Var, ObjectRef> param_map;
Map<Var, Variant<tir::Buffer, tvm::PrimExpr>> param_map;
for (size_t i = 0; i < callee->params.size(); i++) {
param_map.Set(callee->params[i], args[i]);
}
Expand Down

0 comments on commit 8c0a92d

Please sign in to comment.