diff options
author | Dan Gohman <gohman@apple.com> | 2011-12-17 00:04:22 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-12-17 00:04:22 +0000 |
commit | 518cda42b9dc8b8acb382ae3f49141985f706459 (patch) | |
tree | 58a5083e95eafbb678def679f707ecf7d4415ccf /llvm/test/Feature | |
parent | 27886c6c1efd95ddda693f2f77a301956505b11d (diff) | |
download | bcm5719-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.ll | 1 |
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 |