Author: yiran
Date: 2011-04-20 04:16:00 -0400 (Wed, 20 Apr 2011)
New Revision: 3563

Modified:
   trunk/osprey/be/lno/scalar_expand.cxx
Log:
To cope with the OPR_PAREN node in the tree, which is introduced by the 
Simd_Mark_Code phase.



Modified: trunk/osprey/be/lno/scalar_expand.cxx
===================================================================
--- trunk/osprey/be/lno/scalar_expand.cxx       2011-04-20 08:11:57 UTC (rev 
3562)
+++ trunk/osprey/be/lno/scalar_expand.cxx       2011-04-20 08:16:00 UTC (rev 
3563)
@@ -920,6 +920,8 @@
   OPCODE wn_op = WN_opcode(wn);  
   OPERATOR wn_oper = OPCODE_operator(wn_op); 
   switch (wn_oper) { 
+  case OPR_PAREN:
+    return BND_Min_Expr(WN_kid0(wn), loops, nloops);
   case OPR_INTCONST: 
     return LWN_Copy_Tree(wn, TRUE, LNO_Info_Map); 
   case OPR_LDID: 
@@ -1047,6 +1049,8 @@
   WN* wn_new = NULL; 
 
   switch (wn_oper) {
+  case OPR_PAREN:
+    return BND_Max_Expr(WN_kid0(wn), loops, nloops);
   case OPR_INTCONST: 
     return LWN_Copy_Tree(wn, TRUE, LNO_Info_Map); 
   case OPR_LDID: 


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to