llvm/test/Transforms/JumpThreading
Chris Lattner eede65ce6c Don't infininitely thread branches when a threaded edge
goes back to the block, e.g.:

  Threading edge through bool from 'bb37.us.thread3829' to 'bb37.us' with cost: 1, across block:

bb37.us:		; preds = %bb37.us.thread3829, %bb37.us, %bb33
	%D1361.1.us = phi i32 [ %tmp36, %bb33 ], [ %D1361.1.us, %bb37.us ], [ 0, %bb37.us.thread3829 ]		; <i32> [#uses=2]
	%tmp39.us = icmp eq i32 %D1361.1.us, 0		; <i1> [#uses=1]
	br i1 %tmp39.us, label %bb37.us, label %bb42.us



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50251 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-25 04:12:29 +00:00
..
2008-04-24-InfLoop.ll Don't infininitely thread branches when a threaded edge 2008-04-25 04:12:29 +00:00
and-and-cond.ll Dig through multiple levels of AND to thread jumps if needed. 2008-04-22 20:46:09 +00:00
and-cond.ll Teach jump threading to thread through blocks like: 2008-04-22 07:05:46 +00:00
basic.ll add a basic testcase. 2008-04-22 06:35:14 +00:00
compare.ll Start doing the significantly useful part of jump threading: handle cases 2008-04-22 21:40:39 +00:00
dg.exp add a basic testcase. 2008-04-22 06:35:14 +00:00