You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#21677 seems to have caused a regression in irgen idempotence (verified by bisect):
julia> exec_dummy() = return nothing
exec_dummy (generic function with 1 method)
julia> @code_llvm exec_dummy()
; Function Attrs: sspstrong
define void @julia_exec_dummy_66504() #0 !dbg !5 {
top:
ret void
}
julia> @code_llvm exec_dummy()
; Function Attrs: sspstrong
define void @julia_exec_dummy_66528() #0 !dbg !5 {
top:
ret void
}
julia> # third time's a charm
julia> @code_llvm exec_dummy()
; Function Attrs: sspstrong
define i8** @japi1_exec_dummy_66528(i8**, i8***, i32) #0 !dbg !5 {
top:
%3 = alloca i8***, align 8
store volatile i8*** %1, i8**** %3, align 8
ret i8** inttoptr (i64 140093546754056 to i8**)
}
The japi1 emission is caused because upon third emission specsig is false due to src->inferred being false too. This breaks CUDAnative, where we can only handle specialized julia_* signatures. (Note we use _dump_function with CodegenParams(cached=false) over there.)
Sorry for not doing much debugging here myself, but I'm short on time.
cc @vtjnash@jrevels
The text was updated successfully, but these errors were encountered:
#21677 seems to have caused a regression in irgen idempotence (verified by bisect):
The
japi1
emission is caused because upon third emissionspecsig
is false due tosrc->inferred
being false too. This breaks CUDAnative, where we can only handle specializedjulia_*
signatures. (Note we use_dump_function
withCodegenParams(cached=false)
over there.)Sorry for not doing much debugging here myself, but I'm short on time.
cc @vtjnash @jrevels
The text was updated successfully, but these errors were encountered: