summaryrefslogtreecommitdiffstats
path: root/test/Bindings
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-10-17 23:52:26 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-10-17 23:52:26 +0000
commit3fc35c594cbe48070ad69eaa2fdca1e9424c9fd4 (patch)
treef2e8f76264ef8e7298de66b69bc2c3a1381a8ba9 /test/Bindings
parent391d23b6c29e17b5c969e732169a789ac9d0d422 (diff)
downloadexternal_llvm-3fc35c594cbe48070ad69eaa2fdca1e9424c9fd4.zip
external_llvm-3fc35c594cbe48070ad69eaa2fdca1e9424c9fd4.tar.gz
external_llvm-3fc35c594cbe48070ad69eaa2fdca1e9424c9fd4.tar.bz2
Fix test/Bindings/Ocaml/vmcore.ml. When IRBuilder::CreateMalloc was removed,
LLVMBuildMalloc was reimplemented but with the bug that it didn't insert the resulting instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings')
-rw-r--r--test/Bindings/Ocaml/vmcore.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Bindings/Ocaml/vmcore.ml b/test/Bindings/Ocaml/vmcore.ml
index 9e976d3..dd0404a 100644
--- a/test/Bindings/Ocaml/vmcore.ml
+++ b/test/Bindings/Ocaml/vmcore.ml
@@ -936,9 +936,9 @@ let test_builder () =
group "memory"; begin
let bb08 = append_block context "Bb08" fn in
let b = builder_at_end context bb08 in
-
- (* RUN: grep {Inst20.*malloc.*i8 } < %t.ll
- * RUN: grep {Inst21.*malloc.*i8.*P1} < %t.ll
+
+ (* RUN: grep {Inst20.*malloc} < %t.ll
+ * RUN: grep {Inst21.*malloc} < %t.ll
* RUN: grep {Inst22.*alloca.*i32 } < %t.ll
* RUN: grep {Inst23.*alloca.*i32.*P2} < %t.ll
* RUN: grep {free.*Inst20} < %t.ll