Skip to content

Commit

Permalink
Fix returns_twice attr (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 6, 2024
1 parent 2a447f4 commit 0dc217b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,7 @@ function GPUCompiler.codegen(
if !has_fn_attr(f, EnumAttribute("alwaysinline"))
continue
end
if !has_fn_attr(f, EnumAttribute("returnstwice"))
if !has_fn_attr(f, EnumAttribute("returns_twice"))
push!(function_attributes(f), EnumAttribute("returns_twice"))
push!(toremove, name(f))
end
Expand Down

0 comments on commit 0dc217b

Please sign in to comment.