diff options
-rw-r--r-- | test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll | 6 |
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" |