aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/fp128.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/fp128.ll b/test/CodeGen/PowerPC/fp128.ll
new file mode 100644
index 0000000..9755f9b
--- /dev/null
+++ b/test/CodeGen/PowerPC/fp128.ll
@@ -0,0 +1,8 @@
+; RUN: llc -march=ppc64 < %s | FileCheck --check-prefix=BIGENDIAN %s
+
+@var = global fp128 0xL00000000000000008000000000000000
+
+; CHECK-BIGENDIAN: var:
+; CHECK-BIGENDIAN-NEXT: .quad -9223372036854775808 # fp128 -0
+; CHECK-BIGENDIAN-NEXT: .quad 0
+