[llvm-commits] [llvm] r154202 - /llvm/trunk/test/CodeGen/Mips/global-address.ll

Akira Hatanaka ahatanaka at mips.com
Fri Apr 6 13:23:36 PDT 2012


Author: ahatanak
Date: Fri Apr  6 15:23:36 2012
New Revision: 154202

URL: http://llvm.org/viewvc/llvm-project?rev=154202&view=rev
Log:
Add lines in global-address.ll to test N32 and N64 code generation.


Modified:
    llvm/trunk/test/CodeGen/Mips/global-address.ll

Modified: llvm/trunk/test/CodeGen/Mips/global-address.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/global-address.ll?rev=154202&r1=154201&r2=154202&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/global-address.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/global-address.ll Fri Apr  6 15:23:36 2012
@@ -1,5 +1,9 @@
 ; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
 ; RUN: llc -march=mipsel -relocation-model=static -mtriple=mipsel-linux-gnu < %s | FileCheck %s -check-prefix=STATIC-O32
+; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
+; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=n32 -relocation-model=static  -mtriple=mipsel-linux-gnu < %s | FileCheck %s -check-prefix=STATIC-N32
+; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
+; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
 
 @s1 = internal unnamed_addr global i32 8, align 4
 @g1 = external global i32





More information about the llvm-commits mailing list