summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitcf10f08825ff735c445286f47fcf19c98ca1e33e (patch)
treed2e4fcb5cdd88e44d7c6291d767a2012adbd22ea /llvm/test/CodeGen/Mips
parent494fdf1499bfa970f2ed938007acc69bfcc03118 (diff)
downloadbcm5719-llvm-cf10f08825ff735c445286f47fcf19c98ca1e33e.tar.gz
bcm5719-llvm-cf10f08825ff735c445286f47fcf19c98ca1e33e.zip
64-bit data directive.
llvm-svn: 147005
Diffstat (limited to 'llvm/test/CodeGen/Mips')
-rw-r--r--llvm/test/CodeGen/Mips/mips64directive.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/mips64directive.ll b/llvm/test/CodeGen/Mips/mips64directive.ll
new file mode 100644
index 00000000000..fa81b729e9c
--- /dev/null
+++ b/llvm/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
+}
+
OpenPOWER on IntegriCloud