From 0dc217beb221c3ba0f2fb9f90d5ff1b7864a4e0c Mon Sep 17 00:00:00 2001 From: William Moses Date: Thu, 5 Dec 2024 19:55:59 -0600 Subject: [PATCH] Fix returns_twice attr (#2175) --- src/compiler.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.jl b/src/compiler.jl index 78a266c78e..2f4cbfc8da 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -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