Skip to content

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Mar 24, 2025

Fixes #680

@github-actions
Copy link
Contributor

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic master) to apply these changes.

Click here to view the suggested changes.
diff --git a/src/utils.jl b/src/utils.jl
index cc03122..9798bef 100644
--- a/src/utils.jl
+++ b/src/utils.jl
@@ -148,4 +148,5 @@ function prune_constexpr_uses!(root::LLVM.Value)
             isempty(uses(val)) && LLVM.unsafe_destroy!(val)
         end
     end
+    return
 end

@maleadt maleadt merged commit 58370e0 into master Mar 24, 2025
15 of 19 checks passed
@maleadt maleadt deleted the tb/recursive_constexpr_prune branch March 24, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ERROR: old function still has uses (via a constant expr)

2 participants