Fix some test cases.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 12 Feb 2008 07:22:46 +0000 (07:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 12 Feb 2008 07:22:46 +0000 (07:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46998 91177308-0d34-0410-b5e6-96231b3b80d8

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

index abd8ddd92c116ea9e645ba49eb173f2fdc6aa962..493f1f21c8a208f03a561522fa0f4c3eea12cd77 100644 (file)
@@ -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
index 4bd9924f265415f39c6fdb5588e52565dc38ad20..39a2d4fd75c59beef238895ff41d06815486f24b 100644 (file)
@@ -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.
index 97f33d8adbcb4169412cc74e74abc934735f655d..7d5ea3a0976b7cdfcf76388abf1395d506d699a3 100644 (file)
@@ -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