summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-01 22:35:31 +0000
committerChris Lattner <sabre@nondot.org>2008-12-01 22:35:31 +0000
commitb2f131a4abe70ac8376768d0d959d2eb79138ccf (patch)
tree48dfc0c58e691bd2135456558b3609c5b2ce72bc /llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
parent069a4eee556e716d75638bcc315e8b2de33f5c9e (diff)
downloadbcm5719-llvm-b2f131a4abe70ac8376768d0d959d2eb79138ccf.tar.gz
bcm5719-llvm-b2f131a4abe70ac8376768d0d959d2eb79138ccf.zip
Add rdar reference, make this actually fail when the patch isn't applied.
llvm-svn: 60376
Diffstat (limited to 'llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll')
-rw-r--r--llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll b/llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
index 48de9670163..ca5a80ccd82 100644
--- a/llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
+++ b/llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep -v lea
-; ModuleID = '<stdin>'
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | not grep lea
+; The inner loop should use [reg] addressing, not [reg+reg] addressing.
+; rdar://6403965
+
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
target triple = "i386-apple-darwin9.5"
OpenPOWER on IntegriCloud