commit | cf10f08825ff735c445286f47fcf19c98ca1e33e | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@mips.com> | Tue Dec 20 22:52:19 2011 +0000 |
committer | Akira Hatanaka <ahatanaka@mips.com> | Tue Dec 20 22:52:19 2011 +0000 |
tree | d2e4fcb5cdd88e44d7c6291d767a2012adbd22ea | |
parent | 494fdf1499bfa970f2ed938007acc69bfcc03118 [diff] [blame] |
64-bit data directive. llvm-svn: 147005
diff --git a/llvm/test/CodeGen/Mips/mips64directive.ll b/llvm/test/CodeGen/Mips/mips64directive.ll new file mode 100644 index 0000000..fa81b72 --- /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 +} +