From ddc87d4a2c3d6df48a219a3588e6abe208bf5d14 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 1 Dec 2008 22:35:31 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll | 6 ++++-- 1 file 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 48de9670163..ca5a80ccd82 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 = '' +; 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"