aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-12-20 22:52:19 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-12-20 22:52:19 +0000
commit8dc684d2a2d124df66ac56a032a6c78a51c06b8c (patch)
treeef587c788e483f27215092e7914dd17573082279 /test/CodeGen/Mips
parentef43c2de8639689dafdb8b580e75bcaae19a8dbb (diff)
downloadexternal_llvm-8dc684d2a2d124df66ac56a032a6c78a51c06b8c.zip
external_llvm-8dc684d2a2d124df66ac56a032a6c78a51c06b8c.tar.gz
external_llvm-8dc684d2a2d124df66ac56a032a6c78a51c06b8c.tar.bz2
64-bit data directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips')
-rw-r--r--test/CodeGen/Mips/mips64directive.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/mips64directive.ll b/test/CodeGen/Mips/mips64directive.ll
new file mode 100644
index 0000000..fa81b72
--- /dev/null
+++ b/test/CodeGen/Mips/mips64directive.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s -march=mips64el -mcpu=mips64 -mattr=n64 | FileCheck %s
+
+@gl = global i64 1250999896321, align 8
+
+; CHECK: 8byte
+define i64 @foo1() nounwind readonly {
+entry:
+ %0 = load i64* @gl, align 8
+ ret i64 %0
+}
+