summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-12 07:22:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-12 07:22:46 +0000
commit65b2e3df0d7fd52566b9d6fbecd1ce642abb7188 (patch)
treed5e2e2050d3bbb6c1b487dfa1d88d50bec643257
parent0602df7403182526995419e6384e89d87329605a (diff)
downloadllvm-65b2e3df0d7fd52566b9d6fbecd1ce642abb7188.tar.gz
llvm-65b2e3df0d7fd52566b9d6fbecd1ce642abb7188.tar.bz2
llvm-65b2e3df0d7fd52566b9d6fbecd1ce642abb7188.tar.xz
Fix some test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46998 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/fold-mul-lohi.ll2
-rw-r--r--test/CodeGen/X86/stride-nine-with-base-reg.ll2
-rw-r--r--test/CodeGen/X86/stride-reuse.ll2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/fold-mul-lohi.ll b/test/CodeGen/X86/fold-mul-lohi.ll
index abd8ddd92c..493f1f21c8 100644
--- a/test/CodeGen/X86/fold-mul-lohi.ll
+++ b/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/test/CodeGen/X86/stride-nine-with-base-reg.ll b/test/CodeGen/X86/stride-nine-with-base-reg.ll
index 4bd9924f26..39a2d4fd75 100644
--- a/test/CodeGen/X86/stride-nine-with-base-reg.ll
+++ b/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/test/CodeGen/X86/stride-reuse.ll b/test/CodeGen/X86/stride-reuse.ll
index 97f33d8adb..7d5ea3a097 100644
--- a/test/CodeGen/X86/stride-reuse.ll
+++ b/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