Package evaluation to test Checkpointing on Julia 1.14.0-DEV.1589 (2d9a3f8a61*) started at 2026-01-21T11:04:33.696 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 11.16s ################################################################################ # Installation # Installing Checkpointing... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [eb46d486] + Checkpointing v0.11.2 Updating `~/.julia/environments/v1.14/Manifest.toml` [7d9f7c33] + Accessors v0.1.43 [fa961155] + CEnum v0.5.0 [d360d2e6] + ChainRulesCore v1.26.0 [eb46d486] + Checkpointing v0.11.2 [34da2185] + Compat v4.18.1 [a33af91c] + CompositionsBase v0.1.2 [187b0558] + ConstructionBase v1.6.0 [864edb3b] + DataStructures v0.19.3 [7da242da] + Enzyme v0.13.118 [f151be2c] + EnzymeCore v0.8.18 [e2ba6199] + ExprTools v0.1.10 [61eb1bfa] + GPUCompiler v1.8.1 [f67ccb44] + HDF5 v0.17.2 [3587e190] + InverseFunctions v0.1.17 [692b3bcd] + JLLWrappers v1.7.1 [929cbde3] + LLVM v9.4.4 [3da0fdf6] + MPIPreferences v0.1.11 [1914dd2f] + MacroTools v0.5.16 [d8793406] + ObjectFile v0.5.0 [bac558e1] + OrderedCollections v1.8.1 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.1 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [6c6a2e73] + Scratch v1.3.0 [53d494c1] + StructIO v0.3.1 [e689c965] + Tracy v0.1.6 ⌅ [7cc45869] + Enzyme_jll v0.0.238+0 ⌅ [0234f1f7] + HDF5_jll v1.14.6+0 [e33a78d0] + Hwloc_jll v2.12.2+0 [dad2f222] + LLVMExtra_jll v0.0.38+0 [ad6e5548] + LibTracyClient_jll v0.13.1+0 [94ce4f54] + Libiconv_jll v1.18.0+0 [7cb0a576] + MPICH_jll v4.3.2+0 [f1f71cc9] + MPItrampoline_jll v5.5.4+0 [9237b28f] + MicrosoftMPI_jll v10.1.4+3 [fe0851c0] + OpenMPI_jll v5.0.9+0 ⌅ [02c8fc9c] + XML2_jll v2.13.9+0 [a65dc6b1] + Xorg_libpciaccess_jll v0.18.1+0 [477f73a3] + libaec_jll v1.1.4+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL v1.0.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.14.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.13.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.18.0+0 [e37daf67] + LibGit2_jll v1.9.2+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.12.2 [4536629a] + OpenBLAS_jll v0.3.29+0 [458c3c95] + OpenSSL_jll v3.5.4+0 [efcefdf7] + PCRE2_jll v10.47.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.68.0+1 [3f19e933] + p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 11.42s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling packages... ┌ Warning: Enzyme.jl support for Julia 1.12 is presently in progress. │ For the time being we recommend using 1.11 or LTS (1.10). │ │ For latest updates, check the status of support for Julia 1.12+ at │ https://github.com/EnzymeAD/Enzyme.jl/issues/2699. │ └ @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:1580 30981.1 ms ✓ Checkpointing 1 dependency successfully precompiled in 32 seconds. 83 already precompiled. 1 dependency had output during precompilation: ┌ Checkpointing │ ┌ Warning: Enzyme.jl support for Julia 1.12 is presently in progress. │ │ For the time being we recommend using 1.11 or LTS (1.10). │ │ │ │ For latest updates, check the status of support for Julia 1.12+ at │ │ https://github.com/EnzymeAD/Enzyme.jl/issues/2699. │ │ │ └ @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:1580 └ Precompilation completed after 58.26s ################################################################################ # Testing # Testing Checkpointing Status `/tmp/jl_2rYlzR/Project.toml` [eb46d486] Checkpointing v0.11.2 [7da242da] Enzyme v0.13.118 [37e2e46d] LinearAlgebra v1.13.0 [9e88b42a] Serialization v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_2rYlzR/Manifest.toml` [7d9f7c33] Accessors v0.1.43 [fa961155] CEnum v0.5.0 [d360d2e6] ChainRulesCore v1.26.0 [eb46d486] Checkpointing v0.11.2 [34da2185] Compat v4.18.1 [a33af91c] CompositionsBase v0.1.2 [187b0558] ConstructionBase v1.6.0 [864edb3b] DataStructures v0.19.3 [7da242da] Enzyme v0.13.118 [f151be2c] EnzymeCore v0.8.18 [e2ba6199] ExprTools v0.1.10 [61eb1bfa] GPUCompiler v1.8.1 [f67ccb44] HDF5 v0.17.2 [3587e190] InverseFunctions v0.1.17 [692b3bcd] JLLWrappers v1.7.1 [929cbde3] LLVM v9.4.4 [3da0fdf6] MPIPreferences v0.1.11 [1914dd2f] MacroTools v0.5.16 [d8793406] ObjectFile v0.5.0 [bac558e1] OrderedCollections v1.8.1 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.1 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [6c6a2e73] Scratch v1.3.0 [53d494c1] StructIO v0.3.1 [e689c965] Tracy v0.1.6 ⌅ [7cc45869] Enzyme_jll v0.0.238+0 ⌅ [0234f1f7] HDF5_jll v1.14.6+0 [e33a78d0] Hwloc_jll v2.12.2+0 [dad2f222] LLVMExtra_jll v0.0.38+0 [ad6e5548] LibTracyClient_jll v0.13.1+0 [94ce4f54] Libiconv_jll v1.18.0+0 [7cb0a576] MPICH_jll v4.3.2+0 [f1f71cc9] MPItrampoline_jll v5.5.4+0 [9237b28f] MicrosoftMPI_jll v10.1.4+3 [fe0851c0] OpenMPI_jll v5.0.9+0 ⌅ [02c8fc9c] XML2_jll v2.13.9+0 [a65dc6b1] Xorg_libpciaccess_jll v0.18.1+0 [477f73a3] libaec_jll v1.1.4+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.14.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.18.0+0 [e37daf67] LibGit2_jll v1.9.2+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.12.2 [4536629a] OpenBLAS_jll v0.3.29+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.68.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... scheme = Revolve: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:32 Got exception outside of a @test EnzymeNoDerivativeError: Current scope: ; Function Attrs: mustprogress noinline nounwind willreturn define internal fastcc "enzyme_type"="{[-1]:Float@double}" double @preprocess_julia_pow_body_37688(double "enzyme_type"="{[-1]:Float@double}" "enzymejl_parmtype"="134923290630336" "enzymejl_parmtype_ref"="0" "enzymejl_parmtype_str"="Float64" %"y::Float64") unnamed_addr #34 !dbg !1543 { top: %sret_box = call noalias nonnull dereferenceable(16) dereferenceable_or_null(16) ptr @malloc(i64 16), !enzymejl_allocart !753, !enzyme_type !507, !enzyme_fromstack !1544, !enzymejl_allocart_name !754 %pgcstack = call ptr @julia.get_pgcstack() #45 %ptls_field = getelementptr inbounds nuw i8, ptr %pgcstack, i64 16 %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !25 %0 = getelementptr inbounds nuw i8, ptr %ptls_load, i64 16 %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !29 fence syncscope("singlethread") seq_cst call void @julia.safepoint(ptr %safepoint) #45 fence syncscope("singlethread") seq_cst call fastcc void @julia__log_ext_37695(ptr noalias nocapture noundef sret([2 x double]) %sret_box) #45, !dbg !1545 %"sret_box[2]_ptr" = getelementptr inbounds nuw i8, ptr %sret_box, i64 8, !dbg !1546 %sret_box.unbox = load double, ptr %sret_box, align 8, !dbg !1547, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %1 = fmul double %"y::Float64", %sret_box.unbox, !dbg !1547 %2 = fneg double %1, !dbg !1550 %3 = call double @llvm.fma.f64(double %sret_box.unbox, double %"y::Float64", double %2) #45, !dbg !1552 %"sret_box[2]_ptr.unbox" = load double, ptr %"sret_box[2]_ptr", align 8, !dbg !1553, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %4 = fmul contract double %"y::Float64", %"sret_box[2]_ptr.unbox", !dbg !1553 %5 = fadd contract double %4, %3, !dbg !1553 %6 = fadd double %1, %5, !dbg !1555 %7 = fmul contract double %6, 0x40771547652B82FE, !dbg !1557 %8 = fadd contract double %7, 0x4338000000000000, !dbg !1557 %bitcast_coercion6 = bitcast double %8 to i64, !dbg !1560 %9 = trunc i64 %bitcast_coercion6 to i32, !dbg !1562 %10 = ashr i32 %9, 8, !dbg !1563 %11 = fadd double %8, 0xC338000000000000, !dbg !1566 %12 = fmul contract double %11, 0x3D31CF79ABC9E3B4, !dbg !1568 %13 = fmul contract double %11, 0x3F662E42FEF80000, !dbg !1570 %14 = fsub contract double %6, %13, !dbg !1570 %15 = fsub contract double %14, %12, !dbg !1568 %16 = fmul contract double %15, 0x3FA5555565BBF98F, !dbg !1572 %17 = fadd contract double %16, 0x3FC555557E55EFED, !dbg !1572 %18 = fmul contract double %15, %17, !dbg !1572 %19 = fadd contract double %18, 0x3FDFFFFFFFFFFFFB, !dbg !1572 %20 = fmul contract double %15, %19, !dbg !1572 %21 = fadd contract double %20, 0x3FEFFFFFFFFFFFB1, !dbg !1572 %22 = fmul double %15, %21, !dbg !1577 %23 = fadd double %22, 1.000000e+00, !dbg !1578 %24 = fsub double 1.000000e+00, %23, !dbg !1581 %25 = fadd double %22, %24, !dbg !1583 %26 = fsub double %6, %1, !dbg !1584 %27 = fsub double %5, %26, !dbg !1584 %28 = fadd double %27, %25, !dbg !1585 %29 = and i64 %bitcast_coercion6, 255, !dbg !1587 %30 = getelementptr inbounds nuw i64, ptr @_j_const_6, i64 %29, !dbg !1591 %.unbox = load i64, ptr %30, align 8, !dbg !1592, !tbaa !537, !alias.scope !541, !noalias !545 %31 = and i64 %.unbox, 4503599627370495, !dbg !1592 %32 = or disjoint i64 %31, 4607182418800017408, !dbg !1594 %bitcast_coercion7 = bitcast i64 %32 to double, !dbg !1595 %33 = fmul contract double %28, %bitcast_coercion7, !dbg !1596 %34 = fmul double %27, %bitcast_coercion7, !dbg !1597 %35 = fmul contract double %34, %22, !dbg !1599 %36 = lshr i64 %.unbox, 8, !dbg !1600 %37 = or disjoint i64 %36, 4323455642275676160, !dbg !1603 %bitcast_coercion9 = bitcast i64 %37 to double, !dbg !1604 %38 = fadd contract double %35, %bitcast_coercion9, !dbg !1599 %39 = fadd contract double %38, %33, !dbg !1596 %40 = call double @llvm.fma.f64(double %bitcast_coercion7, double %23, double %39) #45, !dbg !1605 %41 = call double @llvm.fabs.f64(double %6) #45, !dbg !1606 %42 = fcmp ugt double %41, 0x4086232BDD7ABCD2, !dbg !1608 br i1 %42, label %L93, label %L88.L120_crit_edge, !dbg !1607 L88.L120_crit_edge: ; preds = %top %.pre = sext i32 %10 to i64, !dbg !1609 br label %L120, !dbg !1607 L93: ; preds = %top %43 = fcmp ord double %6, 0.000000e+00, !dbg !1612 br i1 %43, label %L97, label %L126, !dbg !1615 L97: ; preds = %L93 %44 = fcmp ult double %6, 0x40862E42FEFA39F0, !dbg !1616 br i1 %44, label %L100, label %L126, !dbg !1618 L100: ; preds = %L97 %45 = fcmp ugt double %6, 0xC0874910D52D3052, !dbg !1619 br i1 %45, label %L103, label %L126, !dbg !1620 L103: ; preds = %L100 %46 = sext i32 %10 to i64, !dbg !1621 %47 = icmp sgt i32 %10, -53, !dbg !1628 br i1 %47, label %L114, label %L106, !dbg !1627 L106: ; preds = %L103 %48 = shl i64 %46, 52, !dbg !1629 %49 = add i64 %48, 238690780250636288, !dbg !1629 %bitcast_coercion12 = bitcast double %40 to i64, !dbg !1632 %50 = add i64 %49, %bitcast_coercion12, !dbg !1634 %bitcast_coercion13 = bitcast i64 %50 to double, !dbg !1632 %51 = fmul double %bitcast_coercion13, 0x3CA0000000000000, !dbg !1635 br label %L126, !dbg !1633 L114: ; preds = %L103 %.not = icmp eq i32 %10, 1024, !dbg !1636 br i1 %.not, label %L117, label %L120, !dbg !1638 L117: ; preds = %L114 %52 = fmul double %40, 2.000000e+00, !dbg !1639 %53 = fmul double %52, 0x7FE0000000000000, !dbg !1639 br label %L126, !dbg !1638 L120: ; preds = %L114, %L88.L120_crit_edge %.pre-phi = phi i64 [ %.pre, %L88.L120_crit_edge ], [ %46, %L114 ], !dbg !1609 %54 = shl i64 %.pre-phi, 52, !dbg !1640 %bitcast_coercion14 = bitcast double %40 to i64, !dbg !1642 %55 = add i64 %54, %bitcast_coercion14, !dbg !1644 %bitcast_coercion15 = bitcast i64 %55 to double, !dbg !1642 br label %L126, !dbg !1643 L126: ; preds = %L120, %L117, %L106, %L100, %L97, %L93 %value_phi11 = phi double [ %51, %L106 ], [ %53, %L117 ], [ %bitcast_coercion15, %L120 ], [ %6, %L93 ], [ 0x7FF0000000000000, %L97 ], [ 0.000000e+00, %L100 ] ret double %value_phi11, !dbg !1559 } ; Function Attrs: mustprogress noinline nounwind willreturn define internal fastcc "enzyme_type"="{[-1]:Float@double}" double @preprocess_julia_pow_body_37688(double "enzyme_type"="{[-1]:Float@double}" "enzymejl_parmtype"="134923290630336" "enzymejl_parmtype_ref"="0" "enzymejl_parmtype_str"="Float64" %"y::Float64") unnamed_addr #34 !dbg !1543 { top: %sret_box = call noalias nonnull dereferenceable(16) dereferenceable_or_null(16) ptr @malloc(i64 16), !enzymejl_allocart !753, !enzyme_type !507, !enzyme_fromstack !1544, !enzymejl_allocart_name !754 %pgcstack = call ptr @julia.get_pgcstack() #45 %ptls_field = getelementptr inbounds nuw i8, ptr %pgcstack, i64 16 %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !25 %0 = getelementptr inbounds nuw i8, ptr %ptls_load, i64 16 %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !29 fence syncscope("singlethread") seq_cst call void @julia.safepoint(ptr %safepoint) #45 fence syncscope("singlethread") seq_cst call fastcc void @julia__log_ext_37695(ptr noalias nocapture noundef sret([2 x double]) %sret_box) #45, !dbg !1545 %"sret_box[2]_ptr" = getelementptr inbounds nuw i8, ptr %sret_box, i64 8, !dbg !1546 %sret_box.unbox = load double, ptr %sret_box, align 8, !dbg !1547, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %1 = fmul double %"y::Float64", %sret_box.unbox, !dbg !1547 %2 = fneg double %1, !dbg !1550 %3 = call double @llvm.fma.f64(double %sret_box.unbox, double %"y::Float64", double %2) #45, !dbg !1552 %"sret_box[2]_ptr.unbox" = load double, ptr %"sret_box[2]_ptr", align 8, !dbg !1553, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %4 = fmul contract double %"y::Float64", %"sret_box[2]_ptr.unbox", !dbg !1553 %5 = fadd contract double %4, %3, !dbg !1553 %6 = fadd double %1, %5, !dbg !1555 %7 = fmul contract double %6, 0x40771547652B82FE, !dbg !1557 %8 = fadd contract double %7, 0x4338000000000000, !dbg !1557 %bitcast_coercion6 = bitcast double %8 to i64, !dbg !1560 %9 = trunc i64 %bitcast_coercion6 to i32, !dbg !1562 %10 = ashr i32 %9, 8, !dbg !1563 %11 = fadd double %8, 0xC338000000000000, !dbg !1566 %12 = fmul contract double %11, 0x3D31CF79ABC9E3B4, !dbg !1568 %13 = fmul contract double %11, 0x3F662E42FEF80000, !dbg !1570 %14 = fsub contract double %6, %13, !dbg !1570 %15 = fsub contract double %14, %12, !dbg !1568 %16 = fmul contract double %15, 0x3FA5555565BBF98F, !dbg !1572 %17 = fadd contract double %16, 0x3FC555557E55EFED, !dbg !1572 %18 = fmul contract double %15, %17, !dbg !1572 %19 = fadd contract double %18, 0x3FDFFFFFFFFFFFFB, !dbg !1572 %20 = fmul contract double %15, %19, !dbg !1572 %21 = fadd contract double %20, 0x3FEFFFFFFFFFFFB1, !dbg !1572 %22 = fmul double %15, %21, !dbg !1577 %23 = fadd double %22, 1.000000e+00, !dbg !1578 %24 = fsub double 1.000000e+00, %23, !dbg !1581 %25 = fadd double %22, %24, !dbg !1583 %26 = fsub double %6, %1, !dbg !1584 %27 = fsub double %5, %26, !dbg !1584 %28 = fadd double %27, %25, !dbg !1585 %29 = and i64 %bitcast_coercion6, 255, !dbg !1587 %30 = getelementptr inbounds nuw i64, ptr @_j_const_6, i64 %29, !dbg !1591 %.unbox = load i64, ptr %30, align 8, !dbg !1592, !tbaa !537, !alias.scope !541, !noalias !545 %31 = and i64 %.unbox, 4503599627370495, !dbg !1592 %32 = or disjoint i64 %31, 4607182418800017408, !dbg !1594 %bitcast_coercion7 = bitcast i64 %32 to double, !dbg !1595 %33 = fmul contract double %28, %bitcast_coercion7, !dbg !1596 %34 = fmul double %27, %bitcast_coercion7, !dbg !1597 %35 = fmul contract double %34, %22, !dbg !1599 %36 = lshr i64 %.unbox, 8, !dbg !1600 %37 = or disjoint i64 %36, 4323455642275676160, !dbg !1603 %bitcast_coercion9 = bitcast i64 %37 to double, !dbg !1604 %38 = fadd contract double %35, %bitcast_coercion9, !dbg !1599 %39 = fadd contract double %38, %33, !dbg !1596 %40 = call double @llvm.fma.f64(double %bitcast_coercion7, double %23, double %39) #45, !dbg !1605 %41 = call double @llvm.fabs.f64(double %6) #45, !dbg !1606 %42 = fcmp ugt double %41, 0x4086232BDD7ABCD2, !dbg !1608 br i1 %42, label %L93, label %L88.L120_crit_edge, !dbg !1607 L88.L120_crit_edge: ; preds = %top %.pre = sext i32 %10 to i64, !dbg !1609 br label %L120, !dbg !1607 L93: ; preds = %top %43 = fcmp ord double %6, 0.000000e+00, !dbg !1612 br i1 %43, label %L97, label %L126, !dbg !1615 L97: ; preds = %L93 %44 = fcmp ult double %6, 0x40862E42FEFA39F0, !dbg !1616 br i1 %44, label %L100, label %L126, !dbg !1618 L100: ; preds = %L97 %45 = fcmp ugt double %6, 0xC0874910D52D3052, !dbg !1619 br i1 %45, label %L103, label %L126, !dbg !1620 L103: ; preds = %L100 %46 = sext i32 %10 to i64, !dbg !1621 %47 = icmp sgt i32 %10, -53, !dbg !1628 br i1 %47, label %L114, label %L106, !dbg !1627 L106: ; preds = %L103 %48 = shl i64 %46, 52, !dbg !1629 %49 = add i64 %48, 238690780250636288, !dbg !1629 %bitcast_coercion12 = bitcast double %40 to i64, !dbg !1632 %50 = add i64 %49, %bitcast_coercion12, !dbg !1634 %bitcast_coercion13 = bitcast i64 %50 to double, !dbg !1632 %51 = fmul double %bitcast_coercion13, 0x3CA0000000000000, !dbg !1635 br label %L126, !dbg !1633 L114: ; preds = %L103 %.not = icmp eq i32 %10, 1024, !dbg !1636 br i1 %.not, label %L117, label %L120, !dbg !1638 L117: ; preds = %L114 %52 = fmul double %40, 2.000000e+00, !dbg !1639 %53 = fmul double %52, 0x7FE0000000000000, !dbg !1639 br label %L126, !dbg !1638 L120: ; preds = %L114, %L88.L120_crit_edge %.pre-phi = phi i64 [ %.pre, %L88.L120_crit_edge ], [ %46, %L114 ], !dbg !1609 %54 = shl i64 %.pre-phi, 52, !dbg !1640 %bitcast_coercion14 = bitcast double %40 to i64, !dbg !1642 %55 = add i64 %54, %bitcast_coercion14, !dbg !1644 %bitcast_coercion15 = bitcast i64 %55 to double, !dbg !1642 br label %L126, !dbg !1643 L126: ; preds = %L120, %L117, %L106, %L100, %L97, %L93 %value_phi11 = phi double [ %51, %L106 ], [ %53, %L117 ], [ %bitcast_coercion15, %L120 ], [ %6, %L93 ], [ 0x7FF0000000000000, %L97 ], [ 0.000000e+00, %L100 ] ret double %value_phi11, !dbg !1559 } constantarg[double %"y::Float64"] = 0 type: {[-1]:Float@double} - vals: {} constantinst[ %sret_box = call noalias nonnull dereferenceable(16) dereferenceable_or_null(16) ptr @malloc(i64 16), !enzymejl_allocart !25, !enzyme_type !26, !enzyme_fromstack !29, !enzymejl_allocart_name !30] = 1 val:0 type: {[-1]:Pointer, [-1,-1]:Float@double} constantinst[ %pgcstack = call ptr @julia.get_pgcstack() #45] = 1 val:1 type: {[-1]:Pointer, [-1,16]:Pointer} constantinst[ %ptls_field = getelementptr inbounds nuw i8, ptr %pgcstack, i64 16] = 1 val:1 type: {[-1]:Pointer, [-1,0]:Pointer} constantinst[ %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !31] = 1 val:1 type: {[-1]:Pointer} constantinst[ %0 = getelementptr inbounds nuw i8, ptr %ptls_load, i64 16] = 1 val:1 type: {[-1]:Pointer} constantinst[ %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !35] = 1 val:1 type: {} constantinst[ fence syncscope("singlethread") seq_cst] = 1 val:1 type: {} constantinst[ call void @julia.safepoint(ptr %safepoint) #45] = 1 val:1 type: {} constantinst[ fence syncscope("singlethread") seq_cst] = 1 val:1 type: {} constantinst[ call fastcc void @julia__log_ext_37695(ptr noalias nocapture noundef sret([2 x double]) %sret_box) #45, !dbg !37] = 0 val:1 type: {} constantinst[ %"sret_box[2]_ptr" = getelementptr inbounds nuw i8, ptr %sret_box, i64 8, !dbg !38] = 1 val:0 type: {[-1]:Pointer, [-1,-1]:Float@double} constantinst[ %sret_box.unbox = load double, ptr %sret_box, align 8, !dbg !41, !tbaa !31, !alias.scope !48, !noalias !51, !enzyme_type !56, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0] = 0 val:0 type: {[-1]:Float@double} constantinst[ %1 = fmul double %"y::Float64", %sret_box.unbox, !dbg !41] = 0 val:0 type: {[-1]:Float@double} constantinst[ %2 = fneg double %1, !dbg !57] = 0 val:0 type: {[-1]:Float@double} constantinst[ %3 = call double @llvm.fma.f64(double %sret_box.unbox, double %"y::Float64", double %2) #45, !dbg !60] = 0 val:0 type: {[-1]:Float@double} constantinst[ %"sret_box[2]_ptr.unbox" = load double, ptr %"sret_box[2]_ptr", align 8, !dbg !63, !tbaa !31, !alias.scope !48, !noalias !51, !enzyme_type !56, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0] = 0 val:0 type: {[-1]:Float@double} constantinst[ %4 = fmul contract double %"y::Float64", %"sret_box[2]_ptr.unbox", !dbg !63] = 0 val:0 type: {[-1]:Float@double} constantinst[ %5 = fadd contract double %4, %3, !dbg !63] = 0 val:0 type: {[-1]:Float@double} constantinst[ %6 = fadd double %1, %5, !dbg !66] = 0 val:0 type: {[-1]:Float@double} constantinst[ %7 = fmul contract double %6, 0x40771547652B82FE, !dbg !69] = 0 val:0 type: {[-1]:Float@double} constantinst[ %8 = fadd contract double %7, 0x4338000000000000, !dbg !69] = 0 val:0 type: {[-1]:Float@double} constantinst[ %bitcast_coercion6 = bitcast double %8 to i64, !dbg !74] = 1 val:1 type: {[-1]:Float@double} constantinst[ %9 = trunc i64 %bitcast_coercion6 to i32, !dbg !78] = 1 val:1 type: {[-1]:Float@double} constantinst[ %10 = ashr i32 %9, 8, !dbg !81] = 1 val:1 type: {[-1]:Integer} constantinst[ %11 = fadd double %8, 0xC338000000000000, !dbg !85] = 0 val:0 type: {[-1]:Float@double} constantinst[ %12 = fmul contract double %11, 0x3D31CF79ABC9E3B4, !dbg !87] = 0 val:0 type: {[-1]:Float@double} constantinst[ %13 = fmul contract double %11, 0x3F662E42FEF80000, !dbg !89] = 0 val:0 type: {[-1]:Float@double} constantinst[ %14 = fsub contract double %6, %13, !dbg !89] = 0 val:0 type: {[-1]:Float@double} constantinst[ %15 = fsub contract double %14, %12, !dbg !87] = 0 val:0 type: {[-1]:Float@double} constantinst[ %16 = fmul contract double %15, 0x3FA5555565BBF98F, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %17 = fadd contract double %16, 0x3FC555557E55EFED, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %18 = fmul contract double %15, %17, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %19 = fadd contract double %18, 0x3FDFFFFFFFFFFFFB, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %20 = fmul contract double %15, %19, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %21 = fadd contract double %20, 0x3FEFFFFFFFFFFFB1, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %22 = fmul double %15, %21, !dbg !99] = 0 val:0 type: {[-1]:Float@double} constantinst[ %23 = fadd double %22, 1.000000e+00, !dbg !100] = 0 val:0 type: {[-1]:Float@double} constantinst[ %24 = fsub double 1.000000e+00, %23, !dbg !105] = 0 val:0 type: {[-1]:Float@double} constantinst[ %25 = fadd double %22, %24, !dbg !107] = 0 val:0 type: {[-1]:Float@double} constantinst[ %26 = fsub double %6, %1, !dbg !108] = 0 val:0 type: {[-1]:Float@double} constantinst[ %27 = fsub double %5, %26, !dbg !108] = 0 val:0 type: {[-1]:Float@double} constantinst[ %28 = fadd double %27, %25, !dbg !109] = 0 val:0 type: {[-1]:Float@double} constantinst[ %29 = and i64 %bitcast_coercion6, 255, !dbg !111] = 1 val:1 type: {[-1]:Integer} constantinst[ %30 = getelementptr inbounds nuw i64, ptr @_j_const_6, i64 %29, !dbg !117] = 1 val:1 type: {[-1]:Pointer, [-1,-1]:Anything} constantinst[ %.unbox = load i64, ptr %30, align 8, !dbg !118, !tbaa !120, !alias.scope !124, !noalias !125] = 1 val:1 type: {[-1]:Anything} constantinst[ %31 = and i64 %.unbox, 4503599627370495, !dbg !118] = 1 val:1 type: {[-1]:Anything} constantinst[ %32 = or disjoint i64 %31, 4607182418800017408, !dbg !126] = 1 val:1 type: {[-1]:Anything} constantinst[ %bitcast_coercion7 = bitcast i64 %32 to double, !dbg !128] = 1 val:1 type: {[-1]:Anything} constantinst[ %33 = fmul contract double %28, %bitcast_coercion7, !dbg !129] = 0 val:0 type: {[-1]:Float@double} constantinst[ %34 = fmul double %27, %bitcast_coercion7, !dbg !130] = 0 val:0 type: {[-1]:Float@double} constantinst[ %35 = fmul contract double %34, %22, !dbg !132] = 0 val:0 type: {[-1]:Float@double} constantinst[ %36 = lshr i64 %.unbox, 8, !dbg !133] = 1 val:1 type: {[-1]:Anything} constantinst[ %37 = or disjoint i64 %36, 4323455642275676160, !dbg !136] = 1 val:1 type: {[-1]:Anything} constantinst[ %bitcast_coercion9 = bitcast i64 %37 to double, !dbg !137] = 1 val:1 type: {[-1]:Anything} constantinst[ %38 = fadd contract double %35, %bitcast_coercion9, !dbg !132] = 0 val:0 type: {[-1]:Float@double} constantinst[ %39 = fadd contract double %38, %33, !dbg !129] = 0 val:0 type: {[-1]:Float@double} constantinst[ %40 = call double @llvm.fma.f64(double %bitcast_coercion7, double %23, double %39) #45, !dbg !138] = 0 val:0 type: {[-1]:Float@double} constantinst[ %41 = call double @llvm.fabs.f64(double %6) #45, !dbg !139] = 1 val:1 type: {[-1]:Float@double} constantinst[ %42 = fcmp ugt double %41, 0x4086232BDD7ABCD2, !dbg !142] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %42, label %L93, label %L88.L120_crit_edge, !dbg !141] = 1 val:1 type: {} constantinst[ %.pre = sext i32 %10 to i64, !dbg !144] = 1 val:1 type: {[-1]:Integer} constantinst[ br label %L120, !dbg !141] = 1 val:1 type: {} constantinst[ %43 = fcmp ord double %6, 0.000000e+00, !dbg !150] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %43, label %L97, label %L126, !dbg !157] = 1 val:1 type: {} constantinst[ %44 = fcmp ult double %6, 0x40862E42FEFA39F0, !dbg !158] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %44, label %L100, label %L126, !dbg !161] = 1 val:1 type: {} constantinst[ %45 = fcmp ugt double %6, 0xC0874910D52D3052, !dbg !162] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %45, label %L103, label %L126, !dbg !163] = 1 val:1 type: {} constantinst[ %46 = sext i32 %10 to i64, !dbg !164] = 1 val:1 type: {[-1]:Integer} constantinst[ %47 = icmp sgt i32 %10, -53, !dbg !177] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %47, label %L114, label %L106, !dbg !176] = 1 val:1 type: {} constantinst[ %48 = shl i64 %46, 52, !dbg !179] = 1 val:1 type: {[-1]:Integer} constantinst[ %49 = add i64 %48, 238690780250636288, !dbg !179] = 1 val:1 type: {[-1]:Anything} constantinst[ %bitcast_coercion12 = bitcast double %40 to i64, !dbg !183] = 0 val:0 type: {[-1]:Float@double} constantinst[ %50 = add i64 %49, %bitcast_coercion12, !dbg !185] = 0 val:0 type: {[-1]:Float@double} constantinst[ %bitcast_coercion13 = bitcast i64 %50 to double, !dbg !183] = 0 val:0 type: {[-1]:Float@double} constantinst[ %51 = fmul double %bitcast_coercion13, 0x3CA0000000000000, !dbg !187] = 0 val:0 type: {[-1]:Float@double} constantinst[ br label %L126, !dbg !184] = 1 val:1 type: {} constantinst[ %.not = icmp eq i32 %10, 1024, !dbg !188] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %.not, label %L117, label %L120, !dbg !191] = 1 val:1 type: {} constantinst[ %52 = fmul double %40, 2.000000e+00, !dbg !192] = 0 val:0 type: {[-1]:Float@double} constantinst[ %53 = fmul double %52, 0x7FE0000000000000, !dbg !192] = 0 val:0 type: {[-1]:Float@double} constantinst[ br label %L126, !dbg !191] = 1 val:1 type: {} constantinst[ %.pre-phi = phi i64 [ %.pre, %L88.L120_crit_edge ], [ %46, %L114 ], !dbg !144] = 1 val:1 type: {[-1]:Integer} constantinst[ %54 = shl i64 %.pre-phi, 52, !dbg !193] = 1 val:1 type: {[-1]:Integer} constantinst[ %bitcast_coercion14 = bitcast double %40 to i64, !dbg !195] = 0 val:0 type: {[-1]:Float@double} constantinst[ %55 = add i64 %54, %bitcast_coercion14, !dbg !197] = 0 val:0 type: {[-1]:Float@double} constantinst[ %bitcast_coercion15 = bitcast i64 %55 to double, !dbg !195] = 0 val:0 type: {[-1]:Float@double} constantinst[ br label %L126, !dbg !196] = 1 val:1 type: {} constantinst[ %value_phi11 = phi double [ %51, %L106 ], [ %53, %L117 ], [ %bitcast_coercion15, %L120 ], [ %6, %L93 ], [ 0x7FF0000000000000, %L97 ], [ 0.000000e+00, %L100 ]] = 0 val:0 type: {[-1]:Float@double} constantinst[ ret double %value_phi11, !dbg !73] = 1 val:1 type: {} cannot handle unknown binary operator: %55 = add i64 %54, %bitcast_coercion14, !dbg !197 Stacktrace: [1] + @ ./int.jl:87 [2] exp_impl @ ./special/exp.jl:258 [3] pow_body @ ./special/pow.jl:101 Failure within method: pow_body(::Float64, ::Float64) @ Base.Math special/pow.jl:90 Hint: catch this exception as `err` and call `code_typed(err)` to inspect the surrounding code. Stacktrace: [1] + @ ./int.jl:87 [inlined] [2] exp_impl @ ./special/exp.jl:258 [inlined] [3] pow_body @ ./special/pow.jl:101 [4] ^ @ ./special/pow.jl:29 [inlined] [5] func_U @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrolfunc.jl:11 [6] func @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrolfunc.jl:16 [7] advance @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrolfunc.jl:28 [8] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:69 [inlined] [9] #muoptcontrol##1 @ ~/.julia/packages/Checkpointing/FXuqe/src/Checkpointing.jl:133 [10] checkpoint_for @ ~/.julia/packages/Checkpointing/FXuqe/src/Checkpointing.jl:90 [inlined] [11] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/src/Checkpointing.jl:135 [inlined] [12] foo @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:67 [inlined] [13] foo @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:0 [inlined] [14] diffejulia_foo_37646_inner_20wrap @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:0 [15] macro expansion @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6666 [inlined] [16] enzyme_call @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6145 [inlined] [17] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6029 [inlined] [18] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:521 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [20] muoptcontrol(scheme::Revolve{Nothing}, steps::Int64, snaps::Int64, verbose::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:74 [21] muoptcontrol(scheme::Revolve{Nothing}, steps::Int64, snaps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:44 [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:32 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:31 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [28] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [33] _start() @ Base ./client.jl:585 scheme = Periodic: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:32 Got exception outside of a @test EnzymeNoDerivativeError: Current scope: ; Function Attrs: mustprogress noinline nounwind willreturn define internal fastcc "enzyme_type"="{[-1]:Float@double}" double @preprocess_julia_pow_body_42375(double "enzyme_type"="{[-1]:Float@double}" "enzymejl_parmtype"="134923290630336" "enzymejl_parmtype_ref"="0" "enzymejl_parmtype_str"="Float64" %"y::Float64") unnamed_addr #34 !dbg !1543 { top: %sret_box = call noalias nonnull dereferenceable(16) dereferenceable_or_null(16) ptr @malloc(i64 16), !enzymejl_allocart !753, !enzyme_type !507, !enzyme_fromstack !1544, !enzymejl_allocart_name !754 %pgcstack = call ptr @julia.get_pgcstack() #45 %ptls_field = getelementptr inbounds nuw i8, ptr %pgcstack, i64 16 %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !25 %0 = getelementptr inbounds nuw i8, ptr %ptls_load, i64 16 %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !29 fence syncscope("singlethread") seq_cst call void @julia.safepoint(ptr %safepoint) #45 fence syncscope("singlethread") seq_cst call fastcc void @julia__log_ext_42382(ptr noalias nocapture noundef sret([2 x double]) %sret_box) #45, !dbg !1545 %"sret_box[2]_ptr" = getelementptr inbounds nuw i8, ptr %sret_box, i64 8, !dbg !1546 %sret_box.unbox = load double, ptr %sret_box, align 8, !dbg !1547, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %1 = fmul double %"y::Float64", %sret_box.unbox, !dbg !1547 %2 = fneg double %1, !dbg !1550 %3 = call double @llvm.fma.f64(double %sret_box.unbox, double %"y::Float64", double %2) #45, !dbg !1552 %"sret_box[2]_ptr.unbox" = load double, ptr %"sret_box[2]_ptr", align 8, !dbg !1553, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %4 = fmul contract double %"y::Float64", %"sret_box[2]_ptr.unbox", !dbg !1553 %5 = fadd contract double %4, %3, !dbg !1553 %6 = fadd double %1, %5, !dbg !1555 %7 = fmul contract double %6, 0x40771547652B82FE, !dbg !1557 %8 = fadd contract double %7, 0x4338000000000000, !dbg !1557 %bitcast_coercion6 = bitcast double %8 to i64, !dbg !1560 %9 = trunc i64 %bitcast_coercion6 to i32, !dbg !1562 %10 = ashr i32 %9, 8, !dbg !1563 %11 = fadd double %8, 0xC338000000000000, !dbg !1566 %12 = fmul contract double %11, 0x3D31CF79ABC9E3B4, !dbg !1568 %13 = fmul contract double %11, 0x3F662E42FEF80000, !dbg !1570 %14 = fsub contract double %6, %13, !dbg !1570 %15 = fsub contract double %14, %12, !dbg !1568 %16 = fmul contract double %15, 0x3FA5555565BBF98F, !dbg !1572 %17 = fadd contract double %16, 0x3FC555557E55EFED, !dbg !1572 %18 = fmul contract double %15, %17, !dbg !1572 %19 = fadd contract double %18, 0x3FDFFFFFFFFFFFFB, !dbg !1572 %20 = fmul contract double %15, %19, !dbg !1572 %21 = fadd contract double %20, 0x3FEFFFFFFFFFFFB1, !dbg !1572 %22 = fmul double %15, %21, !dbg !1577 %23 = fadd double %22, 1.000000e+00, !dbg !1578 %24 = fsub double 1.000000e+00, %23, !dbg !1581 %25 = fadd double %22, %24, !dbg !1583 %26 = fsub double %6, %1, !dbg !1584 %27 = fsub double %5, %26, !dbg !1584 %28 = fadd double %27, %25, !dbg !1585 %29 = and i64 %bitcast_coercion6, 255, !dbg !1587 %30 = getelementptr inbounds nuw i64, ptr @_j_const_6, i64 %29, !dbg !1591 %.unbox = load i64, ptr %30, align 8, !dbg !1592, !tbaa !537, !alias.scope !541, !noalias !545 %31 = and i64 %.unbox, 4503599627370495, !dbg !1592 %32 = or disjoint i64 %31, 4607182418800017408, !dbg !1594 %bitcast_coercion7 = bitcast i64 %32 to double, !dbg !1595 %33 = fmul contract double %28, %bitcast_coercion7, !dbg !1596 %34 = fmul double %27, %bitcast_coercion7, !dbg !1597 %35 = fmul contract double %34, %22, !dbg !1599 %36 = lshr i64 %.unbox, 8, !dbg !1600 %37 = or disjoint i64 %36, 4323455642275676160, !dbg !1603 %bitcast_coercion9 = bitcast i64 %37 to double, !dbg !1604 %38 = fadd contract double %35, %bitcast_coercion9, !dbg !1599 %39 = fadd contract double %38, %33, !dbg !1596 %40 = call double @llvm.fma.f64(double %bitcast_coercion7, double %23, double %39) #45, !dbg !1605 %41 = call double @llvm.fabs.f64(double %6) #45, !dbg !1606 %42 = fcmp ugt double %41, 0x4086232BDD7ABCD2, !dbg !1608 br i1 %42, label %L93, label %L88.L120_crit_edge, !dbg !1607 L88.L120_crit_edge: ; preds = %top %.pre = sext i32 %10 to i64, !dbg !1609 br label %L120, !dbg !1607 L93: ; preds = %top %43 = fcmp ord double %6, 0.000000e+00, !dbg !1612 br i1 %43, label %L97, label %L126, !dbg !1615 L97: ; preds = %L93 %44 = fcmp ult double %6, 0x40862E42FEFA39F0, !dbg !1616 br i1 %44, label %L100, label %L126, !dbg !1618 L100: ; preds = %L97 %45 = fcmp ugt double %6, 0xC0874910D52D3052, !dbg !1619 br i1 %45, label %L103, label %L126, !dbg !1620 L103: ; preds = %L100 %46 = sext i32 %10 to i64, !dbg !1621 %47 = icmp sgt i32 %10, -53, !dbg !1628 br i1 %47, label %L114, label %L106, !dbg !1627 L106: ; preds = %L103 %48 = shl i64 %46, 52, !dbg !1629 %49 = add i64 %48, 238690780250636288, !dbg !1629 %bitcast_coercion12 = bitcast double %40 to i64, !dbg !1632 %50 = add i64 %49, %bitcast_coercion12, !dbg !1634 %bitcast_coercion13 = bitcast i64 %50 to double, !dbg !1632 %51 = fmul double %bitcast_coercion13, 0x3CA0000000000000, !dbg !1635 br label %L126, !dbg !1633 L114: ; preds = %L103 %.not = icmp eq i32 %10, 1024, !dbg !1636 br i1 %.not, label %L117, label %L120, !dbg !1638 L117: ; preds = %L114 %52 = fmul double %40, 2.000000e+00, !dbg !1639 %53 = fmul double %52, 0x7FE0000000000000, !dbg !1639 br label %L126, !dbg !1638 L120: ; preds = %L114, %L88.L120_crit_edge %.pre-phi = phi i64 [ %.pre, %L88.L120_crit_edge ], [ %46, %L114 ], !dbg !1609 %54 = shl i64 %.pre-phi, 52, !dbg !1640 %bitcast_coercion14 = bitcast double %40 to i64, !dbg !1642 %55 = add i64 %54, %bitcast_coercion14, !dbg !1644 %bitcast_coercion15 = bitcast i64 %55 to double, !dbg !1642 br label %L126, !dbg !1643 L126: ; preds = %L120, %L117, %L106, %L100, %L97, %L93 %value_phi11 = phi double [ %51, %L106 ], [ %53, %L117 ], [ %bitcast_coercion15, %L120 ], [ %6, %L93 ], [ 0x7FF0000000000000, %L97 ], [ 0.000000e+00, %L100 ] ret double %value_phi11, !dbg !1559 } ; Function Attrs: mustprogress noinline nounwind willreturn define internal fastcc "enzyme_type"="{[-1]:Float@double}" double @preprocess_julia_pow_body_42375(double "enzyme_type"="{[-1]:Float@double}" "enzymejl_parmtype"="134923290630336" "enzymejl_parmtype_ref"="0" "enzymejl_parmtype_str"="Float64" %"y::Float64") unnamed_addr #34 !dbg !1543 { top: %sret_box = call noalias nonnull dereferenceable(16) dereferenceable_or_null(16) ptr @malloc(i64 16), !enzymejl_allocart !753, !enzyme_type !507, !enzyme_fromstack !1544, !enzymejl_allocart_name !754 %pgcstack = call ptr @julia.get_pgcstack() #45 %ptls_field = getelementptr inbounds nuw i8, ptr %pgcstack, i64 16 %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !25 %0 = getelementptr inbounds nuw i8, ptr %ptls_load, i64 16 %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !29 fence syncscope("singlethread") seq_cst call void @julia.safepoint(ptr %safepoint) #45 fence syncscope("singlethread") seq_cst call fastcc void @julia__log_ext_42382(ptr noalias nocapture noundef sret([2 x double]) %sret_box) #45, !dbg !1545 %"sret_box[2]_ptr" = getelementptr inbounds nuw i8, ptr %sret_box, i64 8, !dbg !1546 %sret_box.unbox = load double, ptr %sret_box, align 8, !dbg !1547, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %1 = fmul double %"y::Float64", %sret_box.unbox, !dbg !1547 %2 = fneg double %1, !dbg !1550 %3 = call double @llvm.fma.f64(double %sret_box.unbox, double %"y::Float64", double %2) #45, !dbg !1552 %"sret_box[2]_ptr.unbox" = load double, ptr %"sret_box[2]_ptr", align 8, !dbg !1553, !tbaa !25, !alias.scope !727, !noalias !764, !enzyme_type !546, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0 %4 = fmul contract double %"y::Float64", %"sret_box[2]_ptr.unbox", !dbg !1553 %5 = fadd contract double %4, %3, !dbg !1553 %6 = fadd double %1, %5, !dbg !1555 %7 = fmul contract double %6, 0x40771547652B82FE, !dbg !1557 %8 = fadd contract double %7, 0x4338000000000000, !dbg !1557 %bitcast_coercion6 = bitcast double %8 to i64, !dbg !1560 %9 = trunc i64 %bitcast_coercion6 to i32, !dbg !1562 %10 = ashr i32 %9, 8, !dbg !1563 %11 = fadd double %8, 0xC338000000000000, !dbg !1566 %12 = fmul contract double %11, 0x3D31CF79ABC9E3B4, !dbg !1568 %13 = fmul contract double %11, 0x3F662E42FEF80000, !dbg !1570 %14 = fsub contract double %6, %13, !dbg !1570 %15 = fsub contract double %14, %12, !dbg !1568 %16 = fmul contract double %15, 0x3FA5555565BBF98F, !dbg !1572 %17 = fadd contract double %16, 0x3FC555557E55EFED, !dbg !1572 %18 = fmul contract double %15, %17, !dbg !1572 %19 = fadd contract double %18, 0x3FDFFFFFFFFFFFFB, !dbg !1572 %20 = fmul contract double %15, %19, !dbg !1572 %21 = fadd contract double %20, 0x3FEFFFFFFFFFFFB1, !dbg !1572 %22 = fmul double %15, %21, !dbg !1577 %23 = fadd double %22, 1.000000e+00, !dbg !1578 %24 = fsub double 1.000000e+00, %23, !dbg !1581 %25 = fadd double %22, %24, !dbg !1583 %26 = fsub double %6, %1, !dbg !1584 %27 = fsub double %5, %26, !dbg !1584 %28 = fadd double %27, %25, !dbg !1585 %29 = and i64 %bitcast_coercion6, 255, !dbg !1587 %30 = getelementptr inbounds nuw i64, ptr @_j_const_6, i64 %29, !dbg !1591 %.unbox = load i64, ptr %30, align 8, !dbg !1592, !tbaa !537, !alias.scope !541, !noalias !545 %31 = and i64 %.unbox, 4503599627370495, !dbg !1592 %32 = or disjoint i64 %31, 4607182418800017408, !dbg !1594 %bitcast_coercion7 = bitcast i64 %32 to double, !dbg !1595 %33 = fmul contract double %28, %bitcast_coercion7, !dbg !1596 %34 = fmul double %27, %bitcast_coercion7, !dbg !1597 %35 = fmul contract double %34, %22, !dbg !1599 %36 = lshr i64 %.unbox, 8, !dbg !1600 %37 = or disjoint i64 %36, 4323455642275676160, !dbg !1603 %bitcast_coercion9 = bitcast i64 %37 to double, !dbg !1604 %38 = fadd contract double %35, %bitcast_coercion9, !dbg !1599 %39 = fadd contract double %38, %33, !dbg !1596 %40 = call double @llvm.fma.f64(double %bitcast_coercion7, double %23, double %39) #45, !dbg !1605 %41 = call double @llvm.fabs.f64(double %6) #45, !dbg !1606 %42 = fcmp ugt double %41, 0x4086232BDD7ABCD2, !dbg !1608 br i1 %42, label %L93, label %L88.L120_crit_edge, !dbg !1607 L88.L120_crit_edge: ; preds = %top %.pre = sext i32 %10 to i64, !dbg !1609 br label %L120, !dbg !1607 L93: ; preds = %top %43 = fcmp ord double %6, 0.000000e+00, !dbg !1612 br i1 %43, label %L97, label %L126, !dbg !1615 L97: ; preds = %L93 %44 = fcmp ult double %6, 0x40862E42FEFA39F0, !dbg !1616 br i1 %44, label %L100, label %L126, !dbg !1618 L100: ; preds = %L97 %45 = fcmp ugt double %6, 0xC0874910D52D3052, !dbg !1619 br i1 %45, label %L103, label %L126, !dbg !1620 L103: ; preds = %L100 %46 = sext i32 %10 to i64, !dbg !1621 %47 = icmp sgt i32 %10, -53, !dbg !1628 br i1 %47, label %L114, label %L106, !dbg !1627 L106: ; preds = %L103 %48 = shl i64 %46, 52, !dbg !1629 %49 = add i64 %48, 238690780250636288, !dbg !1629 %bitcast_coercion12 = bitcast double %40 to i64, !dbg !1632 %50 = add i64 %49, %bitcast_coercion12, !dbg !1634 %bitcast_coercion13 = bitcast i64 %50 to double, !dbg !1632 %51 = fmul double %bitcast_coercion13, 0x3CA0000000000000, !dbg !1635 br label %L126, !dbg !1633 L114: ; preds = %L103 %.not = icmp eq i32 %10, 1024, !dbg !1636 br i1 %.not, label %L117, label %L120, !dbg !1638 L117: ; preds = %L114 %52 = fmul double %40, 2.000000e+00, !dbg !1639 %53 = fmul double %52, 0x7FE0000000000000, !dbg !1639 br label %L126, !dbg !1638 L120: ; preds = %L114, %L88.L120_crit_edge %.pre-phi = phi i64 [ %.pre, %L88.L120_crit_edge ], [ %46, %L114 ], !dbg !1609 %54 = shl i64 %.pre-phi, 52, !dbg !1640 %bitcast_coercion14 = bitcast double %40 to i64, !dbg !1642 %55 = add i64 %54, %bitcast_coercion14, !dbg !1644 %bitcast_coercion15 = bitcast i64 %55 to double, !dbg !1642 br label %L126, !dbg !1643 L126: ; preds = %L120, %L117, %L106, %L100, %L97, %L93 %value_phi11 = phi double [ %51, %L106 ], [ %53, %L117 ], [ %bitcast_coercion15, %L120 ], [ %6, %L93 ], [ 0x7FF0000000000000, %L97 ], [ 0.000000e+00, %L100 ] ret double %value_phi11, !dbg !1559 } constantarg[double %"y::Float64"] = 0 type: {[-1]:Float@double} - vals: {} constantinst[ %sret_box = call noalias nonnull dereferenceable(16) dereferenceable_or_null(16) ptr @malloc(i64 16), !enzymejl_allocart !25, !enzyme_type !26, !enzyme_fromstack !29, !enzymejl_allocart_name !30] = 1 val:0 type: {[-1]:Pointer, [-1,-1]:Float@double} constantinst[ %pgcstack = call ptr @julia.get_pgcstack() #45] = 1 val:1 type: {[-1]:Pointer, [-1,16]:Pointer} constantinst[ %ptls_field = getelementptr inbounds nuw i8, ptr %pgcstack, i64 16] = 1 val:1 type: {[-1]:Pointer, [-1,0]:Pointer} constantinst[ %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !31] = 1 val:1 type: {[-1]:Pointer} constantinst[ %0 = getelementptr inbounds nuw i8, ptr %ptls_load, i64 16] = 1 val:1 type: {[-1]:Pointer} constantinst[ %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !35] = 1 val:1 type: {} constantinst[ fence syncscope("singlethread") seq_cst] = 1 val:1 type: {} constantinst[ call void @julia.safepoint(ptr %safepoint) #45] = 1 val:1 type: {} constantinst[ fence syncscope("singlethread") seq_cst] = 1 val:1 type: {} constantinst[ call fastcc void @julia__log_ext_42382(ptr noalias nocapture noundef sret([2 x double]) %sret_box) #45, !dbg !37] = 0 val:1 type: {} constantinst[ %"sret_box[2]_ptr" = getelementptr inbounds nuw i8, ptr %sret_box, i64 8, !dbg !38] = 1 val:0 type: {[-1]:Pointer, [-1,-1]:Float@double} constantinst[ %sret_box.unbox = load double, ptr %sret_box, align 8, !dbg !41, !tbaa !31, !alias.scope !48, !noalias !51, !enzyme_type !56, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0] = 0 val:0 type: {[-1]:Float@double} constantinst[ %1 = fmul double %"y::Float64", %sret_box.unbox, !dbg !41] = 0 val:0 type: {[-1]:Float@double} constantinst[ %2 = fneg double %1, !dbg !57] = 0 val:0 type: {[-1]:Float@double} constantinst[ %3 = call double @llvm.fma.f64(double %sret_box.unbox, double %"y::Float64", double %2) #45, !dbg !60] = 0 val:0 type: {[-1]:Float@double} constantinst[ %"sret_box[2]_ptr.unbox" = load double, ptr %"sret_box[2]_ptr", align 8, !dbg !63, !tbaa !31, !alias.scope !48, !noalias !51, !enzyme_type !56, !enzymejl_byref_BITS_VALUE !0, !enzymejl_source_type_Float64 !0] = 0 val:0 type: {[-1]:Float@double} constantinst[ %4 = fmul contract double %"y::Float64", %"sret_box[2]_ptr.unbox", !dbg !63] = 0 val:0 type: {[-1]:Float@double} constantinst[ %5 = fadd contract double %4, %3, !dbg !63] = 0 val:0 type: {[-1]:Float@double} constantinst[ %6 = fadd double %1, %5, !dbg !66] = 0 val:0 type: {[-1]:Float@double} constantinst[ %7 = fmul contract double %6, 0x40771547652B82FE, !dbg !69] = 0 val:0 type: {[-1]:Float@double} constantinst[ %8 = fadd contract double %7, 0x4338000000000000, !dbg !69] = 0 val:0 type: {[-1]:Float@double} constantinst[ %bitcast_coercion6 = bitcast double %8 to i64, !dbg !74] = 1 val:1 type: {[-1]:Float@double} constantinst[ %9 = trunc i64 %bitcast_coercion6 to i32, !dbg !78] = 1 val:1 type: {[-1]:Float@double} constantinst[ %10 = ashr i32 %9, 8, !dbg !81] = 1 val:1 type: {[-1]:Integer} constantinst[ %11 = fadd double %8, 0xC338000000000000, !dbg !85] = 0 val:0 type: {[-1]:Float@double} constantinst[ %12 = fmul contract double %11, 0x3D31CF79ABC9E3B4, !dbg !87] = 0 val:0 type: {[-1]:Float@double} constantinst[ %13 = fmul contract double %11, 0x3F662E42FEF80000, !dbg !89] = 0 val:0 type: {[-1]:Float@double} constantinst[ %14 = fsub contract double %6, %13, !dbg !89] = 0 val:0 type: {[-1]:Float@double} constantinst[ %15 = fsub contract double %14, %12, !dbg !87] = 0 val:0 type: {[-1]:Float@double} constantinst[ %16 = fmul contract double %15, 0x3FA5555565BBF98F, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %17 = fadd contract double %16, 0x3FC555557E55EFED, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %18 = fmul contract double %15, %17, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %19 = fadd contract double %18, 0x3FDFFFFFFFFFFFFB, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %20 = fmul contract double %15, %19, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %21 = fadd contract double %20, 0x3FEFFFFFFFFFFFB1, !dbg !91] = 0 val:0 type: {[-1]:Float@double} constantinst[ %22 = fmul double %15, %21, !dbg !99] = 0 val:0 type: {[-1]:Float@double} constantinst[ %23 = fadd double %22, 1.000000e+00, !dbg !100] = 0 val:0 type: {[-1]:Float@double} constantinst[ %24 = fsub double 1.000000e+00, %23, !dbg !105] = 0 val:0 type: {[-1]:Float@double} constantinst[ %25 = fadd double %22, %24, !dbg !107] = 0 val:0 type: {[-1]:Float@double} constantinst[ %26 = fsub double %6, %1, !dbg !108] = 0 val:0 type: {[-1]:Float@double} constantinst[ %27 = fsub double %5, %26, !dbg !108] = 0 val:0 type: {[-1]:Float@double} constantinst[ %28 = fadd double %27, %25, !dbg !109] = 0 val:0 type: {[-1]:Float@double} constantinst[ %29 = and i64 %bitcast_coercion6, 255, !dbg !111] = 1 val:1 type: {[-1]:Integer} constantinst[ %30 = getelementptr inbounds nuw i64, ptr @_j_const_6, i64 %29, !dbg !117] = 1 val:1 type: {[-1]:Pointer, [-1,-1]:Anything} constantinst[ %.unbox = load i64, ptr %30, align 8, !dbg !118, !tbaa !120, !alias.scope !124, !noalias !125] = 1 val:1 type: {[-1]:Anything} constantinst[ %31 = and i64 %.unbox, 4503599627370495, !dbg !118] = 1 val:1 type: {[-1]:Anything} constantinst[ %32 = or disjoint i64 %31, 4607182418800017408, !dbg !126] = 1 val:1 type: {[-1]:Anything} constantinst[ %bitcast_coercion7 = bitcast i64 %32 to double, !dbg !128] = 1 val:1 type: {[-1]:Anything} constantinst[ %33 = fmul contract double %28, %bitcast_coercion7, !dbg !129] = 0 val:0 type: {[-1]:Float@double} constantinst[ %34 = fmul double %27, %bitcast_coercion7, !dbg !130] = 0 val:0 type: {[-1]:Float@double} constantinst[ %35 = fmul contract double %34, %22, !dbg !132] = 0 val:0 type: {[-1]:Float@double} constantinst[ %36 = lshr i64 %.unbox, 8, !dbg !133] = 1 val:1 type: {[-1]:Anything} constantinst[ %37 = or disjoint i64 %36, 4323455642275676160, !dbg !136] = 1 val:1 type: {[-1]:Anything} constantinst[ %bitcast_coercion9 = bitcast i64 %37 to double, !dbg !137] = 1 val:1 type: {[-1]:Anything} constantinst[ %38 = fadd contract double %35, %bitcast_coercion9, !dbg !132] = 0 val:0 type: {[-1]:Float@double} constantinst[ %39 = fadd contract double %38, %33, !dbg !129] = 0 val:0 type: {[-1]:Float@double} constantinst[ %40 = call double @llvm.fma.f64(double %bitcast_coercion7, double %23, double %39) #45, !dbg !138] = 0 val:0 type: {[-1]:Float@double} constantinst[ %41 = call double @llvm.fabs.f64(double %6) #45, !dbg !139] = 1 val:1 type: {[-1]:Float@double} constantinst[ %42 = fcmp ugt double %41, 0x4086232BDD7ABCD2, !dbg !142] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %42, label %L93, label %L88.L120_crit_edge, !dbg !141] = 1 val:1 type: {} constantinst[ %.pre = sext i32 %10 to i64, !dbg !144] = 1 val:1 type: {[-1]:Integer} constantinst[ br label %L120, !dbg !141] = 1 val:1 type: {} constantinst[ %43 = fcmp ord double %6, 0.000000e+00, !dbg !150] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %43, label %L97, label %L126, !dbg !157] = 1 val:1 type: {} constantinst[ %44 = fcmp ult double %6, 0x40862E42FEFA39F0, !dbg !158] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %44, label %L100, label %L126, !dbg !161] = 1 val:1 type: {} constantinst[ %45 = fcmp ugt double %6, 0xC0874910D52D3052, !dbg !162] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %45, label %L103, label %L126, !dbg !163] = 1 val:1 type: {} constantinst[ %46 = sext i32 %10 to i64, !dbg !164] = 1 val:1 type: {[-1]:Integer} constantinst[ %47 = icmp sgt i32 %10, -53, !dbg !177] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %47, label %L114, label %L106, !dbg !176] = 1 val:1 type: {} constantinst[ %48 = shl i64 %46, 52, !dbg !179] = 1 val:1 type: {[-1]:Integer} constantinst[ %49 = add i64 %48, 238690780250636288, !dbg !179] = 1 val:1 type: {[-1]:Anything} constantinst[ %bitcast_coercion12 = bitcast double %40 to i64, !dbg !183] = 0 val:0 type: {[-1]:Float@double} constantinst[ %50 = add i64 %49, %bitcast_coercion12, !dbg !185] = 0 val:0 type: {[-1]:Float@double} constantinst[ %bitcast_coercion13 = bitcast i64 %50 to double, !dbg !183] = 0 val:0 type: {[-1]:Float@double} constantinst[ %51 = fmul double %bitcast_coercion13, 0x3CA0000000000000, !dbg !187] = 0 val:0 type: {[-1]:Float@double} constantinst[ br label %L126, !dbg !184] = 1 val:1 type: {} constantinst[ %.not = icmp eq i32 %10, 1024, !dbg !188] = 1 val:1 type: {[-1]:Integer} constantinst[ br i1 %.not, label %L117, label %L120, !dbg !191] = 1 val:1 type: {} constantinst[ %52 = fmul double %40, 2.000000e+00, !dbg !192] = 0 val:0 type: {[-1]:Float@double} constantinst[ %53 = fmul double %52, 0x7FE0000000000000, !dbg !192] = 0 val:0 type: {[-1]:Float@double} constantinst[ br label %L126, !dbg !191] = 1 val:1 type: {} constantinst[ %.pre-phi = phi i64 [ %.pre, %L88.L120_crit_edge ], [ %46, %L114 ], !dbg !144] = 1 val:1 type: {[-1]:Integer} constantinst[ %54 = shl i64 %.pre-phi, 52, !dbg !193] = 1 val:1 type: {[-1]:Integer} constantinst[ %bitcast_coercion14 = bitcast double %40 to i64, !dbg !195] = 0 val:0 type: {[-1]:Float@double} constantinst[ %55 = add i64 %54, %bitcast_coercion14, !dbg !197] = 0 val:0 type: {[-1]:Float@double} constantinst[ %bitcast_coercion15 = bitcast i64 %55 to double, !dbg !195] = 0 val:0 type: {[-1]:Float@double} constantinst[ br label %L126, !dbg !196] = 1 val:1 type: {} constantinst[ %value_phi11 = phi double [ %51, %L106 ], [ %53, %L117 ], [ %bitcast_coercion15, %L120 ], [ %6, %L93 ], [ 0x7FF0000000000000, %L97 ], [ 0.000000e+00, %L100 ]] = 0 val:0 type: {[-1]:Float@double} constantinst[ ret double %value_phi11, !dbg !73] = 1 val:1 type: {} cannot handle unknown binary operator: %55 = add i64 %54, %bitcast_coercion14, !dbg !197 Stacktrace: [1] + @ ./int.jl:87 [2] exp_impl @ ./special/exp.jl:258 [3] pow_body @ ./special/pow.jl:101 Failure within method: pow_body(::Float64, ::Float64) @ Base.Math special/pow.jl:90 Hint: catch this exception as `err` and call `code_typed(err)` to inspect the surrounding code. Stacktrace: [1] + @ ./int.jl:87 [inlined] [2] exp_impl @ ./special/exp.jl:258 [inlined] [3] pow_body @ ./special/pow.jl:101 [4] ^ @ ./special/pow.jl:29 [inlined] [5] func_U @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrolfunc.jl:11 [6] func @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrolfunc.jl:16 [7] advance @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrolfunc.jl:28 [8] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:69 [inlined] [9] #muoptcontrol##1 @ ~/.julia/packages/Checkpointing/FXuqe/src/Checkpointing.jl:133 [10] checkpoint_for @ ~/.julia/packages/Checkpointing/FXuqe/src/Checkpointing.jl:90 [inlined] [11] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/src/Checkpointing.jl:135 [inlined] [12] foo @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:67 [inlined] [13] foo @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:0 [inlined] [14] diffejulia_foo_42333_inner_18wrap @ ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:0 [15] macro expansion @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6666 [inlined] [16] enzyme_call @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6145 [inlined] [17] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6029 [inlined] [18] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:521 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [20] muoptcontrol(scheme::Periodic{Nothing}, steps::Int64, snaps::Int64, verbose::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:74 [21] muoptcontrol(scheme::Periodic{Nothing}, steps::Int64, snaps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/optcontrol.jl:44 [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:32 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:31 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [28] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [33] _start() @ Base ./client.jl:585 [ Info: [Checkpointing] Number of checkpoints: 100 [ Info: [Checkpointing] Periodic checkpointing with 100 checkpoints and period 0 Online_r2 with verbose=0: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:46 Got exception outside of a @test unknown attribute kind Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] LLVM.Attribute(ref::Ptr{LLVM.API.LLVMOpaqueAttributeRef}) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/attributes.jl:36 [3] collect(iter::LLVM.FunctionAttrSet) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/function.jl:157 [4] nodecayed_phis!(mod::LLVM.Module) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/llvm/transforms.jl:664 [5] optimize!(mod::LLVM.Module, tm::LLVM.TargetMachine) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler/optimize.jl:205 [6] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5468 [7] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [8] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [9] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [10] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [11] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [12] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [13] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [14] autodiff(::ReverseMode{true, false, false, FFIABI, false, true}, ::Const{typeof(sumheat)}, ::Type{Active{Float64}}, ::Duplicated{Heat}, ::Const{Online_r2{Nothing}}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [15] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [16] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:534 [inlined] [17] heat(scheme::Online_r2{Nothing}, tsteps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/heat.jl:63 [18] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:50 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [20] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:46 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:45 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:44 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [31] _start() @ Base ./client.jl:585 [ Info: [Checkpointing] Number of checkpoints: 100 Online_r2 with verbose=1: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:46 Got exception outside of a @test unknown attribute kind Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] LLVM.Attribute(ref::Ptr{LLVM.API.LLVMOpaqueAttributeRef}) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/attributes.jl:36 [3] collect(iter::LLVM.FunctionAttrSet) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/function.jl:157 [4] nodecayed_phis!(mod::LLVM.Module) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/llvm/transforms.jl:664 [5] optimize!(mod::LLVM.Module, tm::LLVM.TargetMachine) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler/optimize.jl:205 [6] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5468 [7] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [8] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [9] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [10] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [11] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [12] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [13] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [14] autodiff(::ReverseMode{true, false, false, FFIABI, false, true}, ::Const{typeof(sumheat)}, ::Type{Active{Float64}}, ::Duplicated{Heat}, ::Const{Online_r2{Nothing}}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [15] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [16] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:534 [inlined] [17] heat(scheme::Online_r2{Nothing}, tsteps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/heat.jl:63 [18] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:50 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [20] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:46 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:45 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:44 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [31] _start() @ Base ./client.jl:585 Online_r2: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:57 Got exception outside of a @test unknown attribute kind Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] LLVM.Attribute(ref::Ptr{LLVM.API.LLVMOpaqueAttributeRef}) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/attributes.jl:36 [3] collect(iter::LLVM.FunctionAttrSet) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/function.jl:157 [4] nodecayed_phis!(mod::LLVM.Module) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/llvm/transforms.jl:664 [5] optimize!(mod::LLVM.Module, tm::LLVM.TargetMachine) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler/optimize.jl:205 [6] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5468 [7] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [8] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [9] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [10] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [11] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [12] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [13] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [14] autodiff(::ReverseMode{true, false, false, FFIABI, false, true}, ::Const{typeof(sumheat)}, ::Type{Active{Float64}}, ::Duplicated{Heat}, ::Const{Online_r2{Nothing}}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [15] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [16] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:534 [inlined] [17] heat(scheme::Online_r2{Nothing}, tsteps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/heat.jl:63 [18] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:62 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [20] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:57 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:57 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:44 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [31] _start() @ Base ./client.jl:585 Revolve: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:72 Got exception outside of a @test AssertionError: VERSION < v"1.13" Stacktrace: [1] fixup_1p12_sret!(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/llvm/transforms.jl:257 [2] prepare_llvm(interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, job::GPUCompiler.CompilerJob{GPUCompiler.NativeCompilerTarget, Enzyme.Compiler.PrimalCompilerParams}, meta::@NamedTuple{entry::LLVM.Function, compiled::Dict{Any, Any}, gv_to_value::Dict{String, Ptr{Nothing}}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:557 [3] nested_codegen!(mode::Enzyme.API.CDerivativeMode, mod::LLVM.Module, funcspec::Core.MethodInstance, world::UInt64) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:1324 [4] enzyme_custom_common_rev(forward::Bool, B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tape::LLVM.ExtractValueInst) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:1525 [5] enzyme_custom_rev(B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, tape::Union{Nothing, LLVM.Value}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:2250 [6] enzyme_custom_rev_cfunc(B::Ptr{LLVM.API.LLVMOpaqueBuilder}, OrigCI::Ptr{LLVM.API.LLVMOpaqueValue}, gutils::Ptr{Nothing}, tape::Ptr{LLVM.API.LLVMOpaqueValue}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/llvmrules.jl:48 [7] EnzymeCreatePrimalAndGradient(logic::Enzyme.Logic, todiff::LLVM.Function, retType::Enzyme.API.CDIFFE_TYPE, constant_args::Vector{Enzyme.API.CDIFFE_TYPE}, TA::Enzyme.TypeAnalysis, returnValue::Bool, dretUsed::Bool, mode::Enzyme.API.CDerivativeMode, runtimeActivity::Bool, strongZero::Bool, width::Int64, additionalArg::Ptr{Nothing}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/2lHFw/src/api.jl:270 [8] macro expansion @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2768 [inlined] [9] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/base.jl:97 [inlined] [10] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, TT::Type, mode::Enzyme.API.CDerivativeMode, width::Int64, parallel::Bool, actualRetType::Type, wrap::Bool, modifiedBetween::NTuple{N, Bool} where N, returnPrimal::Bool, expectedTapeType::Type, loweredArgs::Set{Int64}, boxedArgs::Set{Int64}, removedRoots::Set{Int64}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2641 [11] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5826 [12] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [13] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [14] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [15] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [16] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [17] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [18] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [19] autodiff(::ReverseMode{true, false, false, FFIABI, false, false}, ::Const{typeof(timestepper)}, ::Type{Active{Float64}}, ::Duplicated{Box}, ::Const{Revolve{Nothing}}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [20] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [21] box(scheme::Revolve{Nothing}, tsteps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/box_model.jl:175 [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:77 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:72 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:71 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [28] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [33] _start() @ Base ./client.jl:585 Periodic: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:72 Got exception outside of a @test AssertionError: VERSION < v"1.13" Stacktrace: [1] fixup_1p12_sret!(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/llvm/transforms.jl:257 [2] prepare_llvm(interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, job::GPUCompiler.CompilerJob{GPUCompiler.NativeCompilerTarget, Enzyme.Compiler.PrimalCompilerParams}, meta::@NamedTuple{entry::LLVM.Function, compiled::Dict{Any, Any}, gv_to_value::Dict{String, Ptr{Nothing}}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:557 [3] nested_codegen!(mode::Enzyme.API.CDerivativeMode, mod::LLVM.Module, funcspec::Core.MethodInstance, world::UInt64) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:1324 [4] enzyme_custom_common_rev(forward::Bool, B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tape::LLVM.ExtractValueInst) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:1525 [5] enzyme_custom_rev(B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, tape::Union{Nothing, LLVM.Value}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:2250 [6] enzyme_custom_rev_cfunc(B::Ptr{LLVM.API.LLVMOpaqueBuilder}, OrigCI::Ptr{LLVM.API.LLVMOpaqueValue}, gutils::Ptr{Nothing}, tape::Ptr{LLVM.API.LLVMOpaqueValue}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/llvmrules.jl:48 [7] EnzymeCreatePrimalAndGradient(logic::Enzyme.Logic, todiff::LLVM.Function, retType::Enzyme.API.CDIFFE_TYPE, constant_args::Vector{Enzyme.API.CDIFFE_TYPE}, TA::Enzyme.TypeAnalysis, returnValue::Bool, dretUsed::Bool, mode::Enzyme.API.CDerivativeMode, runtimeActivity::Bool, strongZero::Bool, width::Int64, additionalArg::Ptr{Nothing}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/2lHFw/src/api.jl:270 [8] macro expansion @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2768 [inlined] [9] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/base.jl:97 [inlined] [10] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, TT::Type, mode::Enzyme.API.CDerivativeMode, width::Int64, parallel::Bool, actualRetType::Type, wrap::Bool, modifiedBetween::NTuple{N, Bool} where N, returnPrimal::Bool, expectedTapeType::Type, loweredArgs::Set{Int64}, boxedArgs::Set{Int64}, removedRoots::Set{Int64}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2641 [11] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5826 [12] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [13] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [14] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [15] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [16] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [17] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [18] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [19] autodiff(::ReverseMode{true, false, false, FFIABI, false, false}, ::Const{typeof(timestepper)}, ::Type{Active{Float64}}, ::Duplicated{Box}, ::Const{Periodic{Nothing}}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [20] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [21] box(scheme::Periodic{Nothing}, tsteps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/box_model.jl:175 [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:77 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:72 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:71 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [28] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [33] _start() @ Base ./client.jl:585 Online_r2: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:72 Got exception outside of a @test "roots_activep (DFT_DUP_ARG) != activep (DFT_CONSTANT) arg.typ=var\"#timestepper##2#timestepper##3\"{Box, Int64} equivalent_rooted_type=@NamedTuple{var\"1\"::Box}" Stacktrace: [1] enzyme_custom_setup_args(B::Union{Nothing, LLVM.IRBuilder}, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, mi::Core.MethodInstance, RT::Type, reverse::Bool, isKWCall::Bool, tape::Union{Nothing, LLVM.Value}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:399 [2] aug_fwd_mi(orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, forward::Bool, B::LLVM.IRBuilder, tape::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:1169 [3] enzyme_custom_common_rev(forward::Bool, B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tape::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:1383 [4] enzyme_custom_augfwd @ ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:2237 [inlined] [5] enzyme_custom_augfwd_cfunc(B::Ptr{LLVM.API.LLVMOpaqueBuilder}, OrigCI::Ptr{LLVM.API.LLVMOpaqueValue}, gutils::Ptr{Nothing}, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tapeR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/llvmrules.jl:18 [6] EnzymeCreatePrimalAndGradient(logic::Enzyme.Logic, todiff::LLVM.Function, retType::Enzyme.API.CDIFFE_TYPE, constant_args::Vector{Enzyme.API.CDIFFE_TYPE}, TA::Enzyme.TypeAnalysis, returnValue::Bool, dretUsed::Bool, mode::Enzyme.API.CDerivativeMode, runtimeActivity::Bool, strongZero::Bool, width::Int64, additionalArg::Ptr{Nothing}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/2lHFw/src/api.jl:270 [7] macro expansion @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2768 [inlined] [8] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/base.jl:97 [inlined] [9] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, TT::Type, mode::Enzyme.API.CDerivativeMode, width::Int64, parallel::Bool, actualRetType::Type, wrap::Bool, modifiedBetween::NTuple{N, Bool} where N, returnPrimal::Bool, expectedTapeType::Type, loweredArgs::Set{Int64}, boxedArgs::Set{Int64}, removedRoots::Set{Int64}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2641 [10] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5826 [11] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [12] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [13] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [14] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [15] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [16] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [17] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [18] autodiff(::ReverseMode{true, false, false, FFIABI, false, false}, ::Const{typeof(timestepper)}, ::Type{Active{Float64}}, ::Duplicated{Box}, ::Const{Online_r2{Nothing}}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [19] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:562 [inlined] [20] box(scheme::Online_r2{Nothing}, tsteps::Int64) @ Main ~/.julia/packages/Checkpointing/FXuqe/examples/box_model.jl:175 [21] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:77 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [23] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:72 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [25] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:71 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [27] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [32] _start() @ Base ./client.jl:585 Multilevel: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:83 Got exception outside of a @test LoadError: "roots_activep (DFT_DUP_ARG) != activep (DFT_CONSTANT) arg.typ=var\"#loops##0#loops##1\"{Chkp, Int64} equivalent_rooted_type=@NamedTuple{var\"1\"::Chkp}" Stacktrace: [1] enzyme_custom_setup_args(B::Union{Nothing, LLVM.IRBuilder}, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, mi::Core.MethodInstance, RT::Type, reverse::Bool, isKWCall::Bool, tape::Union{Nothing, LLVM.Value}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:399 [2] aug_fwd_mi(orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, forward::Bool, B::LLVM.IRBuilder, tape::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:1169 [3] enzyme_custom_common_rev(forward::Bool, B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tape::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:1383 [4] enzyme_custom_augfwd @ ~/.julia/packages/Enzyme/2lHFw/src/rules/customrules.jl:2237 [inlined] [5] enzyme_custom_augfwd_cfunc(B::Ptr{LLVM.API.LLVMOpaqueBuilder}, OrigCI::Ptr{LLVM.API.LLVMOpaqueValue}, gutils::Ptr{Nothing}, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tapeR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/rules/llvmrules.jl:18 [6] EnzymeCreatePrimalAndGradient(logic::Enzyme.Logic, todiff::LLVM.Function, retType::Enzyme.API.CDIFFE_TYPE, constant_args::Vector{Enzyme.API.CDIFFE_TYPE}, TA::Enzyme.TypeAnalysis, returnValue::Bool, dretUsed::Bool, mode::Enzyme.API.CDerivativeMode, runtimeActivity::Bool, strongZero::Bool, width::Int64, additionalArg::Ptr{Nothing}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/2lHFw/src/api.jl:270 [7] macro expansion @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2768 [inlined] [8] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/base.jl:97 [inlined] [9] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, TT::Type, mode::Enzyme.API.CDerivativeMode, width::Int64, parallel::Bool, actualRetType::Type, wrap::Bool, modifiedBetween::NTuple{N, Bool} where N, returnPrimal::Bool, expectedTapeType::Type, loweredArgs::Set{Int64}, boxedArgs::Set{Int64}, removedRoots::Set{Int64}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:2641 [10] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:5826 [11] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:67 [12] compile @ ~/.julia/packages/GPUCompiler/g0gFm/src/driver.jl:55 [inlined] [13] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6739 [14] _thunk @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6737 [inlined] [15] cached_compilation @ ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6795 [inlined] [16] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:6911 [17] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/2lHFw/src/compiler.jl:7055 [18] autodiff @ ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:502 [inlined] [19] autodiff(::ReverseMode{true, false, false, FFIABI, false, false}, ::typeof(loops), ::Type{Active}, ::Duplicated{Chkp}, ::Const{Periodic{Nothing}}, ::Const{Int64}, ::Const{Int64}) @ Enzyme ~/.julia/packages/Enzyme/2lHFw/src/Enzyme.jl:542 [20] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/multilevel.jl:35 [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [22] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:84 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [24] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:84 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [26] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [31] _start() @ Base ./client.jl:585 in expression starting at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/multilevel.jl:35 Revolve: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:88 Got exception outside of a @test SystemError: opening file "adj_chkp_1.chkp": No such file or directory Stacktrace: [1] systemerror(p::String, errno::Int32; extrainfo::Nothing) @ Base ./error.jl:186 [2] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing) @ Base ./iostream.jl:327 [3] open @ ./iostream.jl:306 [inlined] [4] open(f::Base.var"#read##0#read##1"{Tuple{}}, args::String; kwargs::@Kwargs{}) @ Base ./io.jl:425 [5] open @ ./io.jl:424 [inlined] [6] read @ ./io.jl:522 [inlined] [7] output_chkp(scheme::Symbol) @ Main ~/.julia/packages/Checkpointing/FXuqe/test/output_chkp.jl:41 [8] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:89 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [10] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:88 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [12] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:87 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [14] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [19] _start() @ Base ./client.jl:585 Periodic: Error During Test at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:88 Got exception outside of a @test SystemError: opening file "adj_chkp_1.chkp": No such file or directory Stacktrace: [1] systemerror(p::String, errno::Int32; extrainfo::Nothing) @ Base ./error.jl:186 [2] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing) @ Base ./iostream.jl:327 [3] open @ ./iostream.jl:306 [inlined] [4] open(f::Base.var"#read##0#read##1"{Tuple{}}, args::String; kwargs::@Kwargs{}) @ Base ./io.jl:425 [5] open @ ./io.jl:424 [inlined] [6] read @ ./io.jl:522 [inlined] [7] output_chkp(scheme::Symbol) @ Main ~/.julia/packages/Checkpointing/FXuqe/test/output_chkp.jl:41 [8] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:89 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2324 [inlined] [10] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:88 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [12] macro expansion @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:87 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2243 [inlined] [14] top-level scope @ ~/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:7 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [19] _start() @ Base ./client.jl:585 Test Summary: | Pass Error Total Time Checkpointing.jl | 19 11 30 5m07.5s Enzyme... | 4 4 3m32.6s Revolve... | 3 3 0.9s Testing optcontrol... | 2 2 21.6s scheme = Revolve | 1 1 19.5s scheme = Periodic | 1 1 1.9s Testing heat example | 12 3 15 12.6s Revolve | 4 4 7.1s Periodic | 4 4 1.7s Online_r2 | 2 2 2.1s Online_r2 with verbose=0 | 1 1 1.8s Online_r2 with verbose=1 | 1 1 0.3s Testing HDF5 storage using heat example | 4 1 5 1.6s Revolve | 2 2 1.1s Periodic | 2 2 0.1s Online_r2 | 1 1 0.4s Test box model example | 3 3 49.3s Revolve | 1 1 42.4s Periodic | 1 1 4.0s Online_r2 | 1 1 2.8s Multilevel | 1 1 4.8s Test writing checkpoints out | 2 2 5.6s Revolve | 1 1 3.5s Periodic | 1 1 2.1s RNG of the outermost testset: Random.Xoshiro(0xd8b469b79ebddb9e, 0x8e297076192427bd, 0xedc13f0fb3d3343a, 0x3ef0f9ae2e2b0de2, 0xe08dca2bb077b925) ERROR: LoadError: Some tests did not pass: 19 passed, 0 failed, 11 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Checkpointing/FXuqe/test/runtests.jl:6 Testing failed after 369.27s ERROR: LoadError: Package Checkpointing errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:3122 [3] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2987 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:548 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:585 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 470.52s: package tests unexpectedly errored