Conversation
Contributor
|
Your PR requires formatting changes to meet the project's style guidelines. Click here to view the suggested changes.diff --git a/src/compiler.jl b/src/compiler.jl
index b5f82d39..1450d178 100644
--- a/src/compiler.jl
+++ b/src/compiler.jl
@@ -410,7 +410,7 @@ const JuliaEnzymeNameMap = Dict{String,Any}(
"enz_no_derivative_exc" => EnzymeNoDerivativeError{Nothing, Nothing},
"enz_no_derivative_mi_exc" => EnzymeNoDerivativeError{Core.MethodInstance, UInt},
"enz_non_const_kwarg_exc" => NonConstantKeywordArgException,
- "enz_callconv_mismatch_exc"=> CallingConventionMismatchError{Cstring},
+ "enz_callconv_mismatch_exc" => CallingConventionMismatchError{Cstring},
"enz_illegal_ta_exc" => IllegalTypeAnalysisException,
"enz_illegal_first_pointer_exc" => IllegalFirstPointerException,
"enz_internal_exc" => EnzymeInternalError,
diff --git a/src/errors.jl b/src/errors.jl
index 7e8e3c10..2d3fe382 100644
--- a/src/errors.jl
+++ b/src/errors.jl
@@ -170,7 +170,7 @@ function Base.showerror(io::IO, ece::CallingConventionMismatchError)
printstyled(io, "Hint"; bold = true, color = :cyan)
printstyled(
io,
- ": You are currently on Julia 1.12, which changed its calling convention. Tracking issue for Enzyme adapting to this new calling convention is https://github.com/EnzymeAD/Enzyme.jl/issues/2707.\n";
+ ": You are currently on Julia 1.12, which changed its calling convention. Tracking issue for Enzyme adapting to this new calling convention is https://github.com/EnzymeAD/Enzyme.jl/issues/2707.\n";
color = :cyan,
)
else
@@ -184,7 +184,7 @@ function Base.showerror(io::IO, ece::CallingConventionMismatchError)
println(io)
- if ece.backtrace isa Cstring
+ return if ece.backtrace isa Cstring
Base.println(io, Base.unsafe_string(ece.backtrace))
else
Base.println(io, ece.backtrace)
diff --git a/src/llvm/transforms.jl b/src/llvm/transforms.jl
index bf7237ac..52be9b5a 100644
--- a/src/llvm/transforms.jl
+++ b/src/llvm/transforms.jl
@@ -944,11 +944,11 @@ function nodecayed_phis!(mod::LLVM.Module)
B = LLVM.IRBuilder()
position!(B, v)
- sPT = if !LLVM.is_opaque(value_type(v))
- LLVM.PointerType(eltype(value_type(v)), 10)
- else
- LLVM.PointerType(10)
- end
+ sPT = if !LLVM.is_opaque(value_type(v))
+ LLVM.PointerType(eltype(value_type(v)), 10)
+ else
+ LLVM.PointerType(10)
+ end
vphi = phi!(B, sPT, "nondecay.vphi."*LLVM.name(v))
ophi = phi!(B, value_type(offset), "nondecay.ophi"*LLVM.name(v))
phicache[v] = (vphi, ophi) |
Contributor
Benchmark Results
Benchmark PlotsA plot of the benchmark results has been uploaded as an artifact at https://github.com/EnzymeAD/Enzyme.jl/actions/runs/19351472566/artifacts/4563620900. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2778 +/- ##
==========================================
+ Coverage 68.94% 68.99% +0.04%
==========================================
Files 58 58
Lines 19961 19963 +2
==========================================
+ Hits 13763 13774 +11
+ Misses 6198 6189 -9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
vchuravy
approved these changes
Nov 13, 2025
vchuravy
approved these changes
Nov 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.