Author: shenruifen
Date: 2010-09-19 23:32:03 -0400 (Sun, 19 Sep 2010)
New Revision: 3346

Modified:
   trunk/osprey/be/com/wn_lower.cxx
Log:
Fix bug in VHO_Enable_Simple_If_Conv optimization.

Reviewed by Fred, Sun & Mei



Modified: trunk/osprey/be/com/wn_lower.cxx
===================================================================
--- trunk/osprey/be/com/wn_lower.cxx    2010-09-19 11:56:35 UTC (rev 3345)
+++ trunk/osprey/be/com/wn_lower.cxx    2010-09-20 03:32:03 UTC (rev 3346)
@@ -8436,11 +8436,12 @@
   //    end if
   if (VHO_Enable_Simple_If_Conv && 
       !Action(LOWER_RETURN_VAL) /* Lower after LNO */ &&
-      //bug 13853: these three lowers happen before lno, so should
+      //bug 13853: these four lowers happen before lno, so should
       //           not transform select back to if
       !Action(LOWER_FAST_EXP)                         &&
       !Action(LOWER_TREEHEIGHT)                       &&
       !Action(LOWER_INLINE_INTRINSIC)                 &&
+      !Action(LOWER_SPLIT_SYM_ADDRS)                  &&
       OPCODE_is_store(WN_opcode(tree)) &&
       WN_operator(WN_kid0(tree)) == OPR_SELECT &&
       !MTYPE_is_vector(WN_desc(tree)) && MTYPE_is_float(WN_desc(tree))) {


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to