mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
64-bit data directive.
llvm-svn: 147005
This commit is contained in:
parent
ad193d95ae
commit
f728a1b2c5
@ -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";
|
||||
|
11
test/CodeGen/Mips/mips64directive.ll
Normal file
11
test/CodeGen/Mips/mips64directive.ll
Normal 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user