summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-08 16:40:13 +0000
committerDan Gohman <gohman@apple.com>2008-09-08 16:40:13 +0000
commitf9b2054df19490f742bf0c23fd413b39e24da8a2 (patch)
treeca12bb54e2df0b43d48ceb7fa36d63852ff1af0b /llvm/test/CodeGen/Generic
parent8f658bac2f15934e347e83449216279b16ccdf3a (diff)
downloadbcm5719-llvm-f9b2054df19490f742bf0c23fd413b39e24da8a2.tar.gz
bcm5719-llvm-f9b2054df19490f742bf0c23fd413b39e24da8a2.zip
Add AsmPrinter support for i128 and larger static initializer data.
llvm-svn: 55919
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r--llvm/test/CodeGen/Generic/i128-and-beyond.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Generic/i128-and-beyond.ll b/llvm/test/CodeGen/Generic/i128-and-beyond.ll
new file mode 100644
index 00000000000..9f8ceddea6c
--- /dev/null
+++ b/llvm/test/CodeGen/Generic/i128-and-beyond.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep 18446744073709551615 | count 14
+; RUN: llvm-as < %s | llc -march=ppc32 | grep 4294967295 | count 28
+
+; These static initializers are too big to hand off to assemblers
+; as monolithic blobs.
+
+@x = global i128 -1
+@y = global i256 -1
+@z = global i512 -1
OpenPOWER on IntegriCloud