Fix typos#2983
Open
abhro wants to merge 1 commit into
Open
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 8f016715..a16d2e43 100644
--- a/src/compiler.jl
+++ b/src/compiler.jl
@@ -3434,7 +3434,7 @@ function create_abi_wrapper(
# Enzyme expects, arg, [w x darg], root, droot
# Julia expects arg, root, darg, droot
# We already pushed arg
- # now params[i] refers to root
+ # now params[i] refers to root
darg = nothing
root = nothing
droot = nothing
@@ -6813,7 +6813,7 @@ const DumpLLVMCall = Ref(false)
tape = callparams[end-1]
end
if value_type(tape) != llty
- throw(AssertionError("Mismatched Tape type, expected $(string(value_type(tape))) found $(string(llty)) from $TapeType arg_roots=$arg_roots"))
+ throw(AssertionError("Mismatched Tape type, expected $(string(value_type(tape))) found $(string(llty)) from $TapeType arg_roots=$arg_roots"))
end
end
end
diff --git a/src/utils.jl b/src/utils.jl
index 4f9662c3..52161a1e 100644
--- a/src/utils.jl
+++ b/src/utils.jl
@@ -145,8 +145,8 @@ function unsafe_to_llvm(B::LLVM.IRBuilder, @nospecialize(val); insert_name_if_no
if !inactive && world isa UInt
legal, jTy, byref = Compiler.abs_typeof(gv, true)
if legal
- current_bb = position(B)
- fn = LLVM.parent(current_bb)
+ current_bb = position(B)
+ fn = LLVM.parent(current_bb)
state = Enzyme.Compiler.active_reg(jTy, world)
inactive = state == Enzyme.Compiler.AnyState ||state == Enzyme.Compiler.ActiveState
end |
wsmoses
reviewed
Mar 3, 2026
cc05f21 to
5dedf92
Compare
vchuravy
approved these changes
Mar 24, 2026
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #2983 +/- ##
===========================================
- Coverage 69.86% 51.10% -18.76%
===========================================
Files 66 13 -53
Lines 21718 1262 -20456
===========================================
- Hits 15174 645 -14529
+ Misses 6544 617 -5927 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Housekeeping edits: Fix up typos.
Update: also ran runic on the changed files after CI workflow