We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b9f6f commit 00c7c44Copy full SHA for 00c7c44
src/compiler/optimize.jl
@@ -383,7 +383,9 @@ function addOptimizationPasses!(mpm::LLVM.NewPMPassManager)
383
# to simplification and deletion
384
# this helps significantly with cleaning up iteration
385
add!(fpm, SimplifyCFGPass())
386
- add!(fpm, LoopDeletionPass())
+ add!(fpm, NewPMLoopPassManager()) do lpm
387
+ add!(lpm, LoopDeletionPass())
388
+ end
389
add!(fpm, InstCombinePass())
390
add!(fpm, JLInstSimplifyPass())
391
add!(fpm, LoopVectorizePass())
0 commit comments