Author: yug
Date: 2011-12-03 05:46:51 -0500 (Sat, 03 Dec 2011)
New Revision: 3843

Modified:
   trunk/osprey/be/opt/opt_htable.cxx
Log:
fix bug912. Don't delete the U4I4CVT in canonicalize CVT if 
his kid is a constant.

Code Review: Sun Chan


Modified: trunk/osprey/be/opt/opt_htable.cxx
===================================================================
--- trunk/osprey/be/opt/opt_htable.cxx  2011-12-03 10:21:35 UTC (rev 3842)
+++ trunk/osprey/be/opt/opt_htable.cxx  2011-12-03 10:46:51 UTC (rev 3843)
@@ -2271,7 +2271,11 @@
 #endif
   if ((Get_mtype_class(OPCODE_rtype(op)) & 
        Get_mtype_class(OPCODE_desc(op))) != 0 &&
-      MTYPE_size_min(OPCODE_rtype(op)) == MTYPE_size_min(OPCODE_desc(op))) 
+      MTYPE_size_min(OPCODE_rtype(op)) == MTYPE_size_min(OPCODE_desc(op)) &&
+      // bug912 open64.net. Do not delete U4I4CVT if his kid is a constant
+      (!(OPCODE_rtype(op) == MTYPE_U4 && 
+         OPCODE_desc(op) == MTYPE_I4 &&
+         ccr->Tree() == NULL))) 
     return propagated;
 
   if ( WOPT_Enable_Cvt_Folding && 


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to