From c2e2d15f458579dd8cc9f3040224e9886961c467 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 20 Aug 2007 20:24:15 +0000 Subject: Do not split loops rejected by processOneIterationLoop(). llvm-svn: 41194 --- llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll | 3 +-- llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm/test/Transforms/LoopIndexSplit') diff --git a/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll index 71fccce7471..d77f55a60ae 100644 --- a/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll +++ b/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-index-split -disable-output -stats |& \ -; RUN: grep "loop-index-split" | count 1 +; RUN: llvm-as < %s | opt -loop-index-split -disable-output %struct._edit_script = type { %struct._edit_script*, i32, i8 } diff --git a/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll index 76c30b3cf16..241b7dc188d 100644 --- a/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll +++ b/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-index-split -disable-output -stats |& \ -; RUN: grep "loop-index-split" | count 1 +; RUN: llvm-as < %s | opt -loop-index-split -disable-output %struct._edit_script = type { %struct._edit_script*, i32, i8 } -- cgit v1.2.3