Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Oct 30, 2024
1 parent 7c3f5ab commit f14886b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/compiler/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2524,7 +2524,9 @@ function optimize!(mod::LLVM.Module, tm)
add_transform_info!(pm, tm)

propagate_julia_addrsp_tm!(pm, tm)
@static if VERSION < v"1.12.0-DEV.1390"
scoped_no_alias_aa!(pm)
end
type_based_alias_analysis!(pm)
basic_alias_analysis!(pm)
cfgsimplification!(pm)
Expand All @@ -2544,7 +2546,9 @@ function optimize!(mod::LLVM.Module, tm)
add_library_info!(pm, triple(mod))
add_transform_info!(pm, tm)

@static if VERSION < v"1.12.0-DEV.1390"
scoped_no_alias_aa!(pm)
end
type_based_alias_analysis!(pm)
basic_alias_analysis!(pm)
cpu_features_tm!(pm, tm)
Expand All @@ -2558,7 +2562,9 @@ function optimize!(mod::LLVM.Module, tm)
add_library_info!(pm, triple(mod))
add_transform_info!(pm, tm)

@static if VERSION < v"1.12.0-DEV.1390"
scoped_no_alias_aa!(pm)
end
type_based_alias_analysis!(pm)
basic_alias_analysis!(pm)
cpu_features_tm!(pm, tm)
Expand Down Expand Up @@ -2633,7 +2639,9 @@ function optimize!(mod::LLVM.Module, tm)
add_library_info!(pm, triple(mod))
add_transform_info!(pm, tm)

@static if VERSION < v"1.12.0-DEV.1390"
scoped_no_alias_aa!(pm)
end
type_based_alias_analysis!(pm)
basic_alias_analysis!(pm)
cpu_features_tm!(pm, tm)
Expand All @@ -2660,7 +2668,9 @@ function addOptimizationPasses!(pm, tm)
constant_merge!(pm)

propagate_julia_addrsp_tm!(pm, tm)
@static if VERSION < v"1.12.0-DEV.1390"
scoped_no_alias_aa!(pm)
end
type_based_alias_analysis!(pm)
basic_alias_analysis!(pm)
cfgsimplification!(pm)
Expand Down

0 comments on commit f14886b

Please sign in to comment.