PNMWE (Probably-Not-Minimal Working Example 🙂). Taken from
|
Native.code_llvm(devnull, Base.print_to_string, Tuple{Int,Int}; optimize=false) |
julia> using GPUCompiler; include("test/helpers/runtime.jl"); include("test/helpers/native.jl")
Main.Native
julia> #=Works=# Native.code_llvm(devnull, Base.print_to_string, Tuple{Int,Int}; optimize=false)
julia> #=Hangs=# Native.code_llvm(devnull, Base.print_to_string, Tuple{Int,Int}; optimize=true)
#771 has slightly more discussion.
PNMWE (Probably-Not-Minimal Working Example 🙂). Taken from
GPUCompiler.jl/test/native.jl
Line 307 in 3084db6
#771 has slightly more discussion.