diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-02-12 07:22:46 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-12 07:22:46 +0000 |
| commit | b21301fbe7b3e3723939251a132f643d8c4185e2 (patch) | |
| tree | 0135b9661ab362c9cb5f6ca1762afa466cc4f79d /llvm/test/CodeGen | |
| parent | f59af190a310e476fe00d3c5359b7a9d9561c7d8 (diff) | |
| download | bcm5719-llvm-b21301fbe7b3e3723939251a132f643d8c4185e2.tar.gz bcm5719-llvm-b21301fbe7b3e3723939251a132f643d8c4185e2.zip | |
Fix some test cases.
llvm-svn: 46998
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/X86/fold-mul-lohi.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/stride-nine-with-base-reg.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/stride-reuse.ll | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/fold-mul-lohi.ll b/llvm/test/CodeGen/X86/fold-mul-lohi.ll index abd8ddd92c1..493f1f21c8a 100644 --- a/llvm/test/CodeGen/X86/fold-mul-lohi.ll +++ b/llvm/test/CodeGen/X86/fold-mul-lohi.ll @@ -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 diff --git a/llvm/test/CodeGen/X86/stride-nine-with-base-reg.ll b/llvm/test/CodeGen/X86/stride-nine-with-base-reg.ll index 4bd9924f265..39a2d4fd75c 100644 --- a/llvm/test/CodeGen/X86/stride-nine-with-base-reg.ll +++ b/llvm/test/CodeGen/X86/stride-nine-with-base-reg.ll @@ -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. diff --git a/llvm/test/CodeGen/X86/stride-reuse.ll b/llvm/test/CodeGen/X86/stride-reuse.ll index 97f33d8adbc..7d5ea3a0976 100644 --- a/llvm/test/CodeGen/X86/stride-reuse.ll +++ b/llvm/test/CodeGen/X86/stride-reuse.ll @@ -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 |

