Skip to content

Commit

Permalink
call add_input_arguments on finish_ir
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich committed Sep 3, 2024
1 parent cbff0d4 commit c5f1475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/metal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ function finish_ir!(@nospecialize(job::CompilerJob{MetalCompilerTarget}), mod::L

# add kernel metadata
if job.config.kernel
add_input_arguments!(job, mod, entry)
entry = LLVM.functions(mod)[entry_fn]

entry = add_address_spaces!(job, mod, entry)

add_argument_metadata!(job, mod, entry)
Expand Down

0 comments on commit c5f1475

Please sign in to comment.