mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Update OCaml bindings for the new half float type.
Patch by Jonathan Ragan-Kelley! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147314 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
97fb69b2ef
commit
eaf0608891
@ -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