mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
9c8c9a8f62
"half precision" floating-point with a first-class type. This patch adds basic IR support (but not codegen support). llvm-svn: 146786
8 lines
240 B
LLVM
8 lines
240 B
LLVM
; RUN: llvm-as < %s | llvm-dis > %t1.ll
|
|
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
|
; RUN: diff %t1.ll %t2.ll
|
|
|
|
@H1 = global half 0x4010000000000000
|
|
@F1 = global float 0x4010000000000000
|
|
@D1 = global double 0x4010000000000000
|