Skip to content

Commit

Permalink
Try to fix ocaml bindings.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116021 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
echristo committed Oct 8, 2010
1 parent bade37b commit c9f1cdd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ CAMLprim value llvm_add_loop_rotation(LLVMPassManagerRef PM) {
return Val_unit;
}

/* [<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);
Expand Down

0 comments on commit c9f1cdd

Please sign in to comment.