From 045f81981a61d283af9d6df1050cef6e7c7ff629 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 22 Jan 2010 00:46:49 +0000 Subject: Revert LoopStrengthReduce.cpp to pre-r94061 for now. llvm-svn: 94123 --- llvm/test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llvm/test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll') diff --git a/llvm/test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll b/llvm/test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll index 99cb8569b3f..7c7a21c013f 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll @@ -1,4 +1,5 @@ -; RUN: llc -march=x86-64 < %s -o - | grep {cmpl \\$\[1\], %} +; RUN: opt < %s -loop-reduce -S | grep ugt +; PR2535 @.str = internal constant [4 x i8] c"%d\0A\00" @@ -15,7 +16,7 @@ forbody: %add166 = or i32 %mul15, 1 ; [#uses=1] * call i32 (i8*, ...)* @printf( i8* noalias getelementptr ([4 x i8]* @.str, i32 0, i32 0), i32 %add166 ) nounwind %inc = add i32 %i.0, 1 ; [#uses=3] - %cmp = icmp ne i32 %inc, 1027 ; [#uses=1] + %cmp = icmp ult i32 %inc, 1027 ; [#uses=1] br i1 %cmp, label %forbody, label %afterfor afterfor: ; preds = %forcond -- cgit v1.2.3