Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a try at upgrading to LLVM 15 #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/backend/LLVM.ml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ let optimize ~lto ~opt target m =
Llvm_scalar_opts.add_tail_call_elimination pm;
Llvm_passmgr_builder.populate_module_pass_manager pm b;
Llvm_passmgr_builder.populate_function_pass_manager pm_f b; (* TODO Is this useful ? *)
if lto then begin
(* if lto then begin
Llvm_passmgr_builder.populate_lto_pass_manager
~internalize:true
~run_inliner:true
pm
b;
end;
end; *)
ignore (PassManager.run_module m pm);
PassManager.dispose pm