ponyc
ponyc copied to clipboard
Update optimization to use the new optimization pass manager
trafficstars
Per https://llvm.org/docs/ReleaseNotes.html the LLVM legacy pass manager is going away after LLVM 14. We should update genopt.cc and gengit.cc to use the new optimization pass manager.
Note that there is currently a big problem with the new pass manager: https://llvm.discourse.group/t/rust-newpm-blocker-catastrophic-inlining/6171