Skip to content

Commit ced7e4f

Browse files
committed
Remove vestiges of removed OCaml modules
Several OCaml modules using the old PassManager API were removed in https://reviews.llvm.org/D144751, but the META file still needed to be updated to remove them. This diff also removes an unused macro definition related to the module removals. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D152114
1 parent 9fa938d commit ced7e4f

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

llvm/bindings/ocaml/llvm/META.llvm.in

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ package "executionengine" (
3737
archive(native) = "llvm_executionengine.cmxa"
3838
)
3939

40-
package "ipo" (
41-
requires = "llvm"
42-
version = "@PACKAGE_VERSION@"
43-
description = "IPO Transforms for LLVM"
44-
archive(byte) = "llvm_ipo.cma"
45-
archive(native) = "llvm_ipo.cmxa"
46-
)
47-
4840
package "debuginfo" (
4941
requires = "llvm"
5042
version = "@PACKAGE_VERSION@"
@@ -61,14 +53,6 @@ package "irreader" (
6153
archive(native) = "llvm_irreader.cmxa"
6254
)
6355

64-
package "scalar_opts" (
65-
requires = "llvm"
66-
version = "@PACKAGE_VERSION@"
67-
description = "Scalar Transforms for LLVM"
68-
archive(byte) = "llvm_scalar_opts.cma"
69-
archive(native) = "llvm_scalar_opts.cmxa"
70-
)
71-
7256
package "transform_utils" (
7357
requires = "llvm"
7458
version = "@PACKAGE_VERSION@"
@@ -77,22 +61,6 @@ package "transform_utils" (
7761
archive(native) = "llvm_transform_utils.cmxa"
7862
)
7963

80-
package "vectorize" (
81-
requires = "llvm"
82-
version = "@PACKAGE_VERSION@"
83-
description = "Vector Transforms for LLVM"
84-
archive(byte) = "llvm_vectorize.cma"
85-
archive(native) = "llvm_vectorize.cmxa"
86-
)
87-
88-
package "passmgr_builder" (
89-
requires = "llvm"
90-
version = "@PACKAGE_VERSION@"
91-
description = "Pass Manager Builder for LLVM"
92-
archive(byte) = "llvm_passmgr_builder.cma"
93-
archive(native) = "llvm_passmgr_builder.cmxa"
94-
)
95-
9664
package "target" (
9765
requires = "llvm"
9866
version = "@PACKAGE_VERSION@"

llvm/bindings/ocaml/llvm/llvm_ocaml.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ void *from_val_array(value Elements);
5656
#define Use_val(v) ((LLVMUseRef)from_val(v))
5757
#define BasicBlock_val(v) ((LLVMBasicBlockRef)from_val(v))
5858
#define MemoryBuffer_val(v) ((LLVMMemoryBufferRef)from_val(v))
59-
#define PassManager_val(v) ((LLVMPassManagerRef)from_val(v))
6059

6160
/* Convert a C pointer to an OCaml option */
6261
value ptr_to_option(void *Ptr);

0 commit comments

Comments
 (0)