Adds LLVMAddUnifyFunctionExitNodesPass to expose
createUnifyFunctionExitNodesPass to the C and OCaml APIs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.ml | ||
---|---|---|
124 ↗ | (On Diff #165870) | Shouldn't this function be called the same way it's called in C API and opt -help? Otherwise it's confusing. |
bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.ml | ||
---|---|---|
124 ↗ | (On Diff #165870) | Will change. It wasn't clear to me, since opt -help has: -mergereturn - Unify function exit nodes |
Comment Actions
Ah yes, in this case the C API name (and when adding a C API, C++ API name) would be preferred over opt -help, since I imagine that anyone writing code against LLVM bindings would consult doxygen.