diff --git a/Project.toml b/Project.toml index 01e60d51bf..7abe033376 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Adapt = "3.3" CEnum = "0.4" Enzyme_jll = "~0.0.18" -GPUCompiler = "0.12" +GPUCompiler = "0.13" LLVM = "4.1" ObjectFile = "0.3" julia = "1.6" diff --git a/src/compiler.jl b/src/compiler.jl index ee5fb1b068..36208c385e 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -1458,7 +1458,7 @@ function lower_convention(@nospecialize(job::CompilerJob), mod::LLVM.Module, ent entry_ft = eltype(llvmtype(entry_f)::LLVM.PointerType)::LLVM.FunctionType RT = LLVM.return_type(entry_ft) - args = GPUCompiler.classify_arguments(job, entry_f) + args = GPUCompiler.classify_arguments(job, entry_ft) filter!(args) do arg arg.cc != GPUCompiler.GHOST end