Author: meiye
Date: 2011-05-23 20:23:22 -0400 (Mon, 23 May 2011)
New Revision: 3622

Modified:
   trunk/osprey/be/opt/opt_proactive.cxx
Log:
 skip loops that are not flagged LOOP_PRE_DO for normalization. CR: Sun Chan

Modified: trunk/osprey/be/opt/opt_proactive.cxx
===================================================================
--- trunk/osprey/be/opt/opt_proactive.cxx       2011-05-24 00:22:24 UTC (rev 
3621)
+++ trunk/osprey/be/opt/opt_proactive.cxx       2011-05-24 00:23:22 UTC (rev 
3622)
@@ -10433,7 +10433,11 @@
 void 
 PRO_LOOP_EXT_TRANS::Hash_if_conds(SC_NODE * sc)
 {
-  if (sc->Type() == SC_LOOP) {
+  // Skip loops that are not flagged LOOP_PRE_DO since the 
+  // the CFG transformation infrastructure does not support
+  // these loops at this moment.
+  if ((sc->Type() == SC_LOOP) 
+      && sc->Loopinfo()->Is_flag_set(LOOP_PRE_DO)) {
     sc->Set_next(NULL);
     std::pair<SC_NODE *, bool> p_ret = sc->Get_nesting_if();
     SC_NODE * sc_if = p_ret.first;


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to