diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/fp128.ll | 10 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/fp128.ll | 8 |
2 files changed, 18 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 + 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 + |