mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Update OCaml bindings for the new half float type.
Patch by Jonathan Ragan-Kelley! llvm-svn: 147314
This commit is contained in:
parent
510f9d49fb
commit
152a507523
@ -20,6 +20,7 @@ type llmemorybuffer
|
|||||||
module TypeKind = struct
|
module TypeKind = struct
|
||||||
type t =
|
type t =
|
||||||
| Void
|
| Void
|
||||||
|
| Half
|
||||||
| Float
|
| Float
|
||||||
| Double
|
| Double
|
||||||
| X86fp80
|
| X86fp80
|
||||||
@ -1234,5 +1235,6 @@ let rec string_of_lltype ty =
|
|||||||
| TypeKind.X86fp80 -> "x86_fp80"
|
| TypeKind.X86fp80 -> "x86_fp80"
|
||||||
| TypeKind.Double -> "double"
|
| TypeKind.Double -> "double"
|
||||||
| TypeKind.Float -> "float"
|
| TypeKind.Float -> "float"
|
||||||
|
| TypeKind.Half -> "half"
|
||||||
| TypeKind.Void -> "void"
|
| TypeKind.Void -> "void"
|
||||||
| TypeKind.Metadata -> "metadata"
|
| TypeKind.Metadata -> "metadata"
|
||||||
|
@ -53,6 +53,7 @@ type llmemorybuffer
|
|||||||
module TypeKind : sig
|
module TypeKind : sig
|
||||||
type t =
|
type t =
|
||||||
Void
|
Void
|
||||||
|
| Half
|
||||||
| Float
|
| Float
|
||||||
| Double
|
| Double
|
||||||
| X86fp80
|
| X86fp80
|
||||||
|
Loading…
x
Reference in New Issue
Block a user