summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-18 15:36:09 +0000
committerDan Gohman <gohman@apple.com>2009-05-18 15:36:09 +0000
commit859b4824eeb2d88c441e855afe3dd7827dfd62a4 (patch)
treeff62a31ebe98ed44b0e664bbbc8489b486f40fba /test
parent70a1fe704831f9b842be0b2a2af5f7082b0e540c (diff)
downloadllvm-859b4824eeb2d88c441e855afe3dd7827dfd62a4.tar.gz
llvm-859b4824eeb2d88c441e855afe3dd7827dfd62a4.tar.bz2
llvm-859b4824eeb2d88c441e855afe3dd7827dfd62a4.tar.xz
Make ScalarEvolution::isLoopGuardedByCond work even when the edge
entering a loop is a non-split critical edge. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll b/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
index d8731b6975..9051dc7ec5 100644
--- a/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
+++ b/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
@@ -1,6 +1,6 @@
; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
; RUN: -scalar-evolution-max-iterations=0 | \
-; RUN: grep -F "backedge-taken count is (-2147483632 + (2147483632 smax (-1 + (-1 * %x)) smax (-1 + (-1 * %y))))"
+; RUN: grep -F "backedge-taken count is (-2147483632 + ((-1 + (-1 * %x)) smax (-1 + (-1 * %y))))"
; PR2607
define i32 @b(i32 %x, i32 %y) nounwind {