We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf2c49 commit 66740f0Copy full SHA for 66740f0
src/driver.jl
@@ -156,13 +156,6 @@ const __llvm_initialized = Ref(false)
156
# because it recurses into the compiler
157
if libraries
158
runtime = load_runtime(job; ctx)
159
- if haskey(globals(runtime), "llvm.used")
160
- # the runtime shouldn't link-in stuff that gets preserved in the output. this is
161
- # a hack to get rid of the device function slots emitted by the PTX back-end,
162
- # but it also makes sense.
163
- gv = globals(runtime)["llvm.used"]
164
- LLVM.unsafe_delete!(runtime, gv)
165
- end
166
runtime_fns = LLVM.name.(defs(runtime))
167
end
168
0 commit comments