Could a gatekeeper please review the following change?  It deletes the
unused function Mtype_Of_TN for the x8664 target.

-David Coakley / AMD Open Source Compiler Engineering


Index: osprey/be/cg/x8664/tn_targ.h
===================================================================
--- osprey/be/cg/x8664/tn_targ.h        (revision 3660)
+++ osprey/be/cg/x8664/tn_targ.h        (working copy)
@@ -92,30 +92,3 @@
 {
   return Build_Dedicated_TN( ISA_REGISTER_CLASS_integer, RBX, 4 );
 }
-
-// what mtype best represents the given tn
-inline TYPE_ID
-Mtype_Of_TN (TN *tn)
-{
-  ISA_REGISTER_CLASS rc = TN_register_class(tn);
-  switch (rc) {
-  case ISA_REGISTER_CLASS_integer:
-       // since regs are unsigned, use unsigned types
-       switch (TN_size(tn)) {
-           case 1: return MTYPE_U1;
-           case 2: return MTYPE_U2;
-           case 4: return MTYPE_U4;
-           case 8: return MTYPE_U8;
-        }
-        break;
-  case ISA_REGISTER_CLASS_float: return MTYPE_F4;
-       switch (TN_size(tn)) {
-           case 4: return MTYPE_F4;
-           case 8: return MTYPE_F8;
-           case 10: return MTYPE_F10;
-           case 16: return MTYPE_FQ;
-        }
-  default: FmtAssert(FALSE, ("unexpected rclass"));
-       return MTYPE_UNKNOWN;
-  }
-}

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to