Skip to content

Commit

Permalink
Fix invalid optimization pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jul 18, 2024
1 parent c9391bf commit 6c3c8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/optim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ function buildIntrinsicLoweringPipeline(mpm, @nospecialize(job::CompilerJob), op
add!(mpm, RemoveNIPass())

# lower GC intrinsics
add!(mpm, NewPMFunctionPassManager()) do fpm
if !uses_julia_runtime(job)
if !uses_julia_runtime(job)
add!(mpm, NewPMFunctionPassManager()) do fpm
add!(fpm, LowerGCFramePass())
end
end
Expand Down

0 comments on commit 6c3c8f6

Please sign in to comment.