aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-01-08 16:56:23 +0000
committerTim Northover <Tim.Northover@arm.com>2013-01-08 16:56:23 +0000
commit90f011e0baa68ea02b80e8b913f7120537ce05aa (patch)
tree553389fe32c30dbecc4036105800f8ce3ddeaada /test/CodeGen/ARM
parent3c00336c7ee13f78d1ecc23fafa3571e5c76110c (diff)
downloadexternal_llvm-90f011e0baa68ea02b80e8b913f7120537ce05aa.zip
external_llvm-90f011e0baa68ea02b80e8b913f7120537ce05aa.tar.gz
external_llvm-90f011e0baa68ea02b80e8b913f7120537ce05aa.tar.bz2
Allow the asm printer to print fp128 values properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/fp128.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/fp128.ll b/test/CodeGen/ARM/fp128.ll
new file mode 100644
index 0000000..ab476d4
--- /dev/null
+++ b/test/CodeGen/ARM/fp128.ll
@@ -0,0 +1,10 @@
+; RUN: llc -march=arm < %s | FileCheck --check-prefix=LITTLEENDIAN %s
+
+@var = global fp128 0xL00000000000000008000000000000000
+
+; CHECK-LITTLEENDIAN: var:
+; CHECK-LITTLEENDIAN-NEXT: .long 0 @ fp128 -0
+; CHECK-LITTLEENDIAN-NEXT: .long 0
+; CHECK-LITTLEENDIAN-NEXT: .long 0
+; CHECK-LITTLEENDIAN-NEXT: .long 2147483648
+