Skip to content

Commit

Permalink
Avoid excessive compilaiton in make_tracer call inside make_mlir_fn
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Jul 23, 2024
1 parent 51b3deb commit 9804dee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ function make_mlir_fn(f, args, kwargs, name="main", concretein=true; toscalar=fa

N = length(args)
seen_args = IdDict()
traced_args = ntuple(Val(N)) do i
Base.@_inline_meta
traced_args = ntuple(N) do i
return make_tracer(
seen_args,
args[i],
Expand Down

0 comments on commit 9804dee

Please sign in to comment.