summaryrefslogtreecommitdiff
path: root/test/Bindings/Ocaml/scalar_opts.ml
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2013-11-15 02:51:44 +0000
committerPeter Zotov <whitequark@whitequark.org>2013-11-15 02:51:44 +0000
commit04deb4957ab253c02bce9d982d69396954744a41 (patch)
treeac823aa6545828dd0ea3426c81bbdaa81c917b63 /test/Bindings/Ocaml/scalar_opts.ml
parent68f4dae1c078df09c9b19a0bda9bc8b8d0aae9be (diff)
downloadllvm-04deb4957ab253c02bce9d982d69396954744a41.tar.gz
llvm-04deb4957ab253c02bce9d982d69396954744a41.tar.bz2
llvm-04deb4957ab253c02bce9d982d69396954744a41.tar.xz
[OCaml] Refactor Llvm_target interface
This commit brings the module structure, argument order and primitive names in Llvm_target in order with the rest of the bindings, in preparation for adding TargetMachine API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/scalar_opts.ml')
-rw-r--r--test/Bindings/Ocaml/scalar_opts.ml3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/Bindings/Ocaml/scalar_opts.ml b/test/Bindings/Ocaml/scalar_opts.ml
index 5cf0d7d141..39913e4311 100644
--- a/test/Bindings/Ocaml/scalar_opts.ml
+++ b/test/Bindings/Ocaml/scalar_opts.ml
@@ -41,10 +41,7 @@ let test_transforms () =
let fn = define_function "fn" fty m in
ignore (build_ret_void (builder_at_end context (entry_block fn)));
- let td = DataLayout.create (target_triple m) in
-
ignore (PassManager.create_function m
- ++ DataLayout.add td
++ add_verifier
++ add_constant_propagation
++ add_sccp