Skip to content

Commit f0ac5eb

Browse files
authored
Update to LLVM 9.1. (#2491)
1 parent 123977e commit f0ac5eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ ExprTools = "0.1"
6161
GPUArrays = "10.0.1"
6262
GPUCompiler = "0.24, 0.25, 0.26, 0.27"
6363
KernelAbstractions = "0.9.2"
64-
LLVM = "6, 7, 8, 9"
64+
LLVM = "9.1"
6565
LLVMLoopInfo = "1"
6666
LazyArtifacts = "1"
6767
Libdl = "1"

src/compiler/compilation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ function GPUCompiler.finish_module!(@nospecialize(job::CUDACompilerJob),
8585
# generate IR for calls to `deferred_codegen` and the resulting function pointer
8686
top_bb = first(blocks(entry))
8787
bb = BasicBlock(top_bb, "initialize_rng")
88-
LLVM.@dispose builder=IRBuilder() begin
88+
@dispose builder=IRBuilder() begin
8989
position!(builder, bb)
90-
subprogram = LLVM.get_subprogram(entry)
90+
subprogram = LLVM.subprogram(entry)
9191
if subprogram !== nothing
9292
loc = DILocation(0, 0, subprogram)
9393
debuglocation!(builder, loc)

0 commit comments

Comments
 (0)