Page MenuHomePhabricator

[llvm-c] Remove legacy pass manager APIs
AcceptedPublic

Authored by aeubanks on Nov 28 2022, 12:59 PM.

Details

Summary

As part of the legacy pass manager for optimization pipeline removal.

Diff Detail

Unit TestsFailed

TimeTest
930 msx64 debian > LLVM.Examples/OrcV2Examples::lljit-with-thinlto-summaries.test
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/opt -module-summary /var/lib/buildkite-agent/builds/llvm-project/llvm/test/Examples/OrcV2Examples/Inputs/main-mod.ll -o /var/lib/buildkite-agent/builds/llvm-project/build/test/Examples/OrcV2Examples/Output/main-mod.bc

Event Timeline

aeubanks created this revision.Nov 28 2022, 12:59 PM
Herald added a reviewer: ctetreau. · View Herald Transcript
Herald added a reviewer: ctetreau. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
aeubanks requested review of this revision.Nov 28 2022, 12:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2022, 12:59 PM
MaskRay accepted this revision.Nov 28 2022, 7:32 PM

LGTM.

llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
464

These functions are used in llvm/bindings/ocaml/transforms/passmgr_builder/passmgr_builder_ocaml.c as well.

This revision is now accepted and ready to land.Nov 28 2022, 7:32 PM
asbirlea accepted this revision.Dec 13 2022, 2:39 PM