aboutsummaryrefslogtreecommitdiff
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
commitddc87d4a2c3d6df48a219a3588e6abe208bf5d14 (patch)
tree4905400c200cfca740c722b0b08274ea09b5ed10
parent589bf0865ccd10d36f406d622c0160be249343e1 (diff)
Add rdar reference, make this actually fail when the patch isn't applied.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60376 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll b/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
index 48de967016..ca5a80ccd8 100644
--- a/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll
+++ b/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"