OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fcee06
)
This was failing on Darwin, which defaults to PIC;
author
Dale Johannesen
<dalej@apple.com>
Wed, 24 Oct 2007 20:58:14 +0000
(20:58 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Wed, 24 Oct 2007 20:58:14 +0000
(20:58 +0000)
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
test/CodeGen/X86/stride-nine-with-base-reg.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/X86/stride-nine-with-base-reg.ll
b/test/CodeGen/X86/stride-nine-with-base-reg.ll
index
f443c76
..
4bd9924
100644
(file)
--- 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