From: Christoph Mallon Date: Wed, 6 Aug 2008 21:01:58 +0000 (+0000) Subject: Optimise strct Conv after strict Conv with same mode. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=cf72e5741e10bf5565601a33e4e95236d3c1f6ad;hp=0192edc6efbc1e0c83a28af849c1f6fd6219bf52;p=libfirm Optimise strct Conv after strict Conv with same mode. [r21023] --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index efe954f0b..9455a8ee8 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -1228,10 +1228,12 @@ restart: assert(get_Load_mode(pred) == n_mode); return a; } + /* leave strict floating point Conv's */ + return n; + } else { + /* leave strict floating point Conv's */ + return n; } - - /* leave strict floating point Conv's */ - return n; } n = a; DBG_OPT_ALGSIM0(oldn, n, FS_OPT_CONV);