Skip to content

Commit 5262413

Browse files
committed
fix
1 parent 64c2def commit 5262413

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/compiler.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6748,6 +6748,9 @@ function _thunk(job, postopt::Bool = true)::Tuple{LLVM.Module, Vector{Any}, Stri
67486748
for f in functions(mod)
67496749
for i in 1:length(parameters(f))
67506750
for a in collect(parameter_attributes(f, i))
6751+
if kind(a) == "enzyme_sret"
6752+
API.EnzymeDumpValueRef(f)
6753+
end
67516754
@assert kind(a) != "enzyme_sret"
67526755
@assert kind(a) != "enzyme_sret_v"
67536756
end

0 commit comments

Comments
 (0)