diff options
author | Dale Johannesen <dalej@apple.com> | 2007-10-24 20:58:14 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-10-24 20:58:14 +0000 |
commit | 0bd5fcf49fafc94eede6d5a759316265ad2ba4dc (patch) | |
tree | 1948522577ce6bce05302c2958d1ea56efe11130 | |
parent | 0fcee0639e6de9f40dbf63b4d0d6f807a3d87ac5 (diff) |
This was failing on Darwin, which defaults to PIC;
no lea was generated. I think this follows the intent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43312 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/stride-nine-with-base-reg.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/stride-nine-with-base-reg.ll b/test/CodeGen/X86/stride-nine-with-base-reg.ll index f443c76015..4bd9924f26 100644 --- a/test/CodeGen/X86/stride-nine-with-base-reg.ll +++ b/test/CodeGen/X86/stride-nine-with-base-reg.ll @@ -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 |