diff --git a/Project.toml b/Project.toml index 727809440c..7057030b09 100644 --- a/Project.toml +++ b/Project.toml @@ -16,7 +16,7 @@ ObjectFile = "d8793406-e978-5875-9003-1fc021f44a92" Adapt = "3.3" CEnum = "0.4" Enzyme_jll = "~0.0.16" -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 080cc60988..c7088e2851 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -1174,7 +1174,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