X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FBindings%2FOcaml%2Fvectorize_opts.ml;h=9c5e7d005757e7f59dccc3ec00f319da9e0eeb84;hp=05bbfe227f63a6f79405d75d24d7e6fc717c1555;hb=47f88b5bdf5ac571e3719a26047d1f015ff73cf5;hpb=b4d023aafe70ffaae8b5e8695ed0d5b4b51c2aa4 diff --git a/test/Bindings/Ocaml/vectorize_opts.ml b/test/Bindings/Ocaml/vectorize_opts.ml index 05bbfe227f6..9c5e7d00575 100644 --- a/test/Bindings/Ocaml/vectorize_opts.ml +++ b/test/Bindings/Ocaml/vectorize_opts.ml @@ -1,7 +1,5 @@ -(* RUN: rm -rf %t.builddir - * RUN: mkdir -p %t.builddir - * RUN: cp %s %t.builddir - * RUN: %ocamlcomp -warn-error A llvm.%cma llvm_vectorize.%cma llvm_target.%cma %t.builddir/vectorize_opts.ml -o %t +(* RUN: cp %s %T/vectorize_opts.ml + * RUN: %ocamlcomp -warn-error A -package llvm.vectorize -linkpkg %T/vectorize_opts.ml -o %t * RUN: %t %t.bc * XFAIL: vg_leak *) @@ -35,7 +33,7 @@ let m = create_module context filename (*===-- Transforms --------------------------------------------------------===*) let test_transforms () = - let (++) x f = ignore (f x); x in + let (++) x f = f x; x in let fty = function_type void_type [| |] in let fn = define_function "fn" fty m in