This situation can occur:
[oota-llvm.git] / lib / VMCore / Function.cpp
index 2ab1194949653e9a2b96575a4e2b5e73b263bca1..7533185be1daf94e028fe0052b71e1e1a98049b2 100644 (file)
@@ -336,7 +336,7 @@ std::string Intrinsic::getName(ID id, const Type **Tys, unsigned numTys) {
   std::string Result(Table[id]);
   for (unsigned i = 0; i < numTys; ++i) 
     if (Tys[i])
-      Result += "." + MVT::getValueTypeString(MVT::getValueType(Tys[i]));
+      Result += "." + MVT::getMVT(Tys[i]).getMVTString();
   return Result;
 }