[llvm-commits] [llvm] r43312 - /llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll

Dale Johannesen dalej at apple.com
Wed Oct 24 13:58:14 PDT 2007


Author: johannes
Date: Wed Oct 24 15:58:14 2007
New Revision: 43312

URL: http://llvm.org/viewvc/llvm-project?rev=43312&view=rev
Log:
This was failing on Darwin, which defaults to PIC;
no lea was generated.  I think this follows the intent.


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

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=43312&r1=43311&r2=43312&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 Wed Oct 24 15:58:14 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep lea | count 1
+; 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
 
 ; For x86 there's an lea above the loop. In both cases, there shouldn't





More information about the llvm-commits mailing list