diff options
author | Eric Christopher <echristo@apple.com> | 2010-10-08 00:36:21 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-10-08 00:36:21 +0000 |
commit | c9f1cddc5170ad882e04eb5901adc7964aec2417 (patch) | |
tree | 5c1328bda10bd59b56b04fa8af0d6696e528500d /bindings | |
parent | bade37bb8b83deefa166776b1b5185c237a42e71 (diff) |
Try to fix ocaml bindings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml | 3 | ||||
-rw-r--r-- | bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli | 5 | ||||
-rw-r--r-- | bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c | 6 |
3 files changed, 0 insertions, 14 deletions
diff --git a/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml b/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml index 5699152b5a..276e1182d0 100644 --- a/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml +++ b/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml @@ -39,9 +39,6 @@ external add_loop_unroll : [<Llvm.PassManager.any] Llvm.PassManager.t external add_loop_rotation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit = "llvm_add_loop_rotation" -external add_loop_index_split : [<Llvm.PassManager.any] Llvm.PassManager.t - -> unit - = "llvm_add_loop_index_split" external add_memory_to_register_promotion : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit diff --git a/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli b/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli index 9f95fbce9f..d7162c769e 100644 --- a/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli +++ b/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli @@ -66,11 +66,6 @@ external add_loop_rotation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit = "llvm_add_loop_rotation" -(** See the [llvm::createLoopIndexSplitPass] function. *) -external add_loop_index_split : [<Llvm.PassManager.any] Llvm.PassManager.t - -> unit - = "llvm_add_loop_index_split" - (** See the [llvm::createPromoteMemoryToRegisterPass] function. *) external add_memory_to_register_promotion : [<Llvm.PassManager.any] Llvm.PassManager.t diff --git a/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c b/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c index c20bdde575..df44807859 100644 --- a/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c +++ b/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c @@ -86,12 +86,6 @@ CAMLprim value llvm_add_loop_rotation(LLVMPassManagerRef PM) { } /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */ -CAMLprim value llvm_add_loop_index_split(LLVMPassManagerRef PM) { - LLVMAddLoopIndexSplitPass(PM); - return Val_unit; -} - -/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */ CAMLprim value llvm_add_memory_to_register_promotion(LLVMPassManagerRef PM) { LLVMAddPromoteMemoryToRegisterPass(PM); return Val_unit; |