aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-09 23:52:31 +0000
committerChris Lattner <sabre@nondot.org>2011-01-09 23:52:31 +0000
commite70d7c2201e5b393299a405fe1f4537a3fc41088 (patch)
tree869a3c713cff1ed5da8f0afb0774c6c8cf1a9062 /test/Analysis
parent66d7a5793cca0f6861064aaa0c0822392503b32d (diff)
downloadexternal_llvm-e70d7c2201e5b393299a405fe1f4537a3fc41088.zip
external_llvm-e70d7c2201e5b393299a405fe1f4537a3fc41088.tar.gz
external_llvm-e70d7c2201e5b393299a405fe1f4537a3fc41088.tar.bz2
add a testcase I missed in previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/ScalarEvolution/nsw.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Analysis/ScalarEvolution/nsw.ll b/test/Analysis/ScalarEvolution/nsw.ll
index 530ed39..62a61cb 100644
--- a/test/Analysis/ScalarEvolution/nsw.ll
+++ b/test/Analysis/ScalarEvolution/nsw.ll
@@ -75,4 +75,6 @@ for.cond.for.end_crit_edge.i.i: ; preds = %for.body.i.i
_ZSt4fillIPiiEvT_S1_RKT0_.exit: ; preds = %entry, %for.cond.for.end_crit_edge.i.i
ret void
+
+; CHECK: Loop %for.body.i.i: backedge-taken count is ((-4 + (-1 * %begin) + %end) /u 4)
}