[llvm-commits] [llvm] r46998 - in /llvm/trunk/test/CodeGen/X86: fold-mul-lohi.ll stride-nine-with-base-reg.ll stride-reuse.ll

Evan Cheng evan.cheng at apple.com
Mon Feb 11 23:22:46 PST 2008


Author: evancheng
Date: Tue Feb 12 01:22:46 2008
New Revision: 46998

URL: http://llvm.org/viewvc/llvm-project?rev=46998&view=rev
Log:
Fix some test cases.

Modified:
    llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll
    llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll
    llvm/trunk/test/CodeGen/X86/stride-reuse.ll

Modified: llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll?rev=46998&r1=46997&r2=46998&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll Tue Feb 12 01:22:46 2008
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86 | not grep lea
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
+; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | not grep lea
 
 @B = external global [1000 x i8], align 32
 @A = external global [1000 x i8], align 32

Modified: llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll?rev=46998&r1=46997&r2=46998&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll (original)
+++ llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll Tue Feb 12 01:22:46 2008
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static | grep lea | count 1
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
+; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | not grep lea
 
 ; For x86 there's an lea above the loop. In both cases, there shouldn't
 ; be any lea instructions inside the loop.

Modified: llvm/trunk/test/CodeGen/X86/stride-reuse.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stride-reuse.ll?rev=46998&r1=46997&r2=46998&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/stride-reuse.ll (original)
+++ llvm/trunk/test/CodeGen/X86/stride-reuse.ll Tue Feb 12 01:22:46 2008
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86 | not grep lea
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
+; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | not grep lea
 
 @B = external global [1000 x float], align 32
 @A = external global [1000 x float], align 32





More information about the llvm-commits mailing list