projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3e119
)
add source
author
Chris Lattner
<sabre@nondot.org>
Sat, 19 May 2007 01:22:52 +0000
(
01:22
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 19 May 2007 01:22:52 +0000
(
01:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37253
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/lsr-negative-stride.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/X86/lsr-negative-stride.ll
b/test/CodeGen/X86/lsr-negative-stride.ll
index 5b9711e18a6b6e1367fb377f43c18070178fa0f0..7e906fc57a29acbdb78d5c814d4de19df8c18817 100644
(file)
--- a/
test/CodeGen/X86/lsr-negative-stride.ll
+++ b/
test/CodeGen/X86/lsr-negative-stride.ll
@@
-2,6
+2,18
@@
; RUN: llvm-as < %s | llc -march=x86 | not grep sub.*esp
; RUN: llvm-as < %s | llc -march=x86 | not grep esi
+; This corresponds to:
+;int t(int a, int b) {
+; while (a != b) {
+; if (a > b)
+; a -= b;
+; else
+; b -= a;
+; }
+; return a;
+;}
+
+
define i32 @t(i32 %a, i32 %b) {
entry:
%tmp1434 = icmp eq i32 %a, %b ; <i1> [#uses=1]