summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-12-17 00:04:22 +0000
committerDan Gohman <gohman@apple.com>2011-12-17 00:04:22 +0000
commit518cda42b9dc8b8acb382ae3f49141985f706459 (patch)
tree58a5083e95eafbb678def679f707ecf7d4415ccf /llvm/test/Feature
parent27886c6c1efd95ddda693f2f77a301956505b11d (diff)
downloadbcm5719-llvm-518cda42b9dc8b8acb382ae3f49141985f706459.tar.gz
bcm5719-llvm-518cda42b9dc8b8acb382ae3f49141985f706459.zip
The powers that be have decided that LLVM IR should now support 16-bit
"half precision" floating-point with a first-class type. This patch adds basic IR support (but not codegen support). llvm-svn: 146786
Diffstat (limited to 'llvm/test/Feature')
-rw-r--r--llvm/test/Feature/float.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Feature/float.ll b/llvm/test/Feature/float.ll
index 6c6c5dd5397..b875afe9804 100644
--- a/llvm/test/Feature/float.ll
+++ b/llvm/test/Feature/float.ll
@@ -2,5 +2,6 @@
; 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
OpenPOWER on IntegriCloud