64-bit data directive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka 2011-12-20 22:52:19 +00:00
parent ef43c2de86
commit 8dc684d2a2
2 changed files with 12 additions and 1 deletions

View File

@ -27,7 +27,7 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, StringRef TT) {
AlignmentIsInBytes = false;
Data16bitsDirective = "\t.2byte\t";
Data32bitsDirective = "\t.4byte\t";
Data64bitsDirective = 0;
Data64bitsDirective = "\t.8byte\t";
PrivateGlobalPrefix = "$";
CommentString = "#";
ZeroDirective = "\t.space\t";

View File

@ -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
}