1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/Transforms
Chris Lattner 1a6268f776 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

llvm-svn: 50251
2008-04-25 04:12:29 +00:00
..
Hello Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Instrumentation Use Intrinsic::getDeclaration in more places. 2008-04-07 13:45:04 +00:00
IPO simplify code for propagation of constant arguments into 2008-04-23 06:16:27 +00:00
Scalar Don't infininitely thread branches when a threaded edge 2008-04-25 04:12:29 +00:00
Utils Adjust inline cost computation to be less aggressive. 2008-04-24 18:42:47 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00