Skip to content

Commit dce63fc

Browse files
committed
fix wrap_byval
1 parent eafbc2d commit dce63fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spirv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ end
287287
function wrap_byval(@nospecialize(job::CompilerJob), mod::LLVM.Module, f::LLVM.Function)
288288
ft = function_type(f)::LLVM.FunctionType
289289

290-
args = classify_arguments(job, ft)
290+
args = classify_arguments(job, ft; post_optimization=true)
291291
filter!(args) do arg
292292
arg.cc != GHOST
293293
end

0 commit comments

Comments
 (0)