Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant committed Sep 26, 2024
1 parent 04f9813 commit d04e805
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ impl ConstantAllocation {
common_dominator
};
// If the value only contains constants, it's safe to hoist outside of any loop
// Now, if the common dominator is inside any loop, hoist the allocation outside of the loop.
if func.dfg.is_constant(constant_id) {
self.exit_loops(common_dominator)
} else {
Expand Down

0 comments on commit d04e805

Please sign in to comment.