Add X86 MMX type to bitcode and Type.
[oota-llvm.git] / bindings / ocaml / llvm / llvm_ocaml.c
index ef2e3d66629cfdaa6dc0f1be3069d21a89cb19c1..ce6cf8ea79e9aa053c4ae871e21d1ad0c347ea52 100644 (file)
@@ -264,6 +264,11 @@ CAMLprim LLVMTypeRef llvm_ppc_fp128_type(LLVMContextRef Context) {
   return LLVMPPCFP128TypeInContext(Context);
 }
 
+/* llcontext -> lltype */
+CAMLprim LLVMTypeRef llvm_x86mmx_type(LLVMContextRef Context) {
+  return LLVMX86MMXTypeInContext(Context);
+}
+
 /*--... Operations on function types .......................................--*/
 
 /* lltype -> lltype array -> lltype */