This completely removes the SCCP pass in the OCaml bindings, fixing the
build and tests.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The commit e2cd0851faaba39cc04c3059df25d22a02b1e682 did not completely remove the SCCP pass from the OCaml bindings, breaking them.
Once this is approved, I'll need someone else to land this because I don't have access to the main branch.
Let's please remove all legacy passes from the OCaml bindings in one go, so they don't get broken all the time as the pass implementations get dropped one by one.
Ok. However, I think this patch should be trivial to land on main, and getting rid of all the legacy passes in one go can be another patch. I would prefer if the OCaml bindings were not broken on main, because I have another patch (https://reviews.llvm.org/D136400) that needs to be rebased, and I can't rebase on a broken build.
As someone who doesn't follow the C API, where can I find out information about which passes are to be removed? Recently there's been some churn and I've frequently had to rebase my other patch. I would like to know how I could be more involved in C API changes and how they interact with the OCaml bindings.
pretty much anything with PassManager in it in the current ocaml bindings will be removed
Should I change this patch to remove all the PassManager-related functions from the OCaml bindings?