Skip to content

Commit

Permalink
[docs] Fix note admonition in llvm-passes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored Oct 30, 2024
1 parent 9850a38 commit 9200a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/devdocs/llvm-passes.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ This pass is used to hoist Julia-specific intrinsics out of loops. Specifically,
3. Hoist allocations out of loops when they do not escape the loop
1. We use a very conservative definition of escape here, the same as the one used in `AllocOptPass`. This transformation can reduce the number of allocations in the IR, even when an allocation escapes the function altogether.

!!!note
!!! note

This pass is required to preserve LLVM's [MemorySSA](https://llvm.org/docs/MemorySSA.html) ([Short Video](https://www.youtube.com/watch?v=bdxWmryoHak), [Longer Video](https://www.youtube.com/watch?v=1e5y6WDbXCQ)) and [ScalarEvolution](https://baziotis.cs.illinois.edu/compilers/introduction-to-scalar-evolution.html) ([Newer Slides](https://llvm.org/devmtg/2018-04/slides/Absar-ScalarEvolution.pdf) [Older Slides](https://llvm.org/devmtg/2009-10/ScalarEvolutionAndLoopOptimization.pdf)) analyses.

0 comments on commit 9200a16

Please sign in to comment.