X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FIR%2FFunction.cpp;h=ccdb5acc76eaa4e754305036c48d02d25f5bbcb2;hb=43be5f580c428d40c794917273256226e8ee391c;hp=3a1c7a4ca36162c89a5379a82e14d77eca8b4d69;hpb=6d024c616a2a4959f8dfe5c64d27f89b394cf042;p=oota-llvm.git diff --git a/lib/IR/Function.cpp b/lib/IR/Function.cpp index 3a1c7a4ca36..ccdb5acc76e 100644 --- a/lib/IR/Function.cpp +++ b/lib/IR/Function.cpp @@ -492,7 +492,10 @@ static std::string getMangledTypeStr(Type* Ty) { Result += "vararg"; // Ensure nested function types are distinguishable. Result += "f"; - } else if (Ty) + } else if (isa(Ty)) + Result += "v" + utostr(Ty->getVectorNumElements()) + + getMangledTypeStr(Ty->getVectorElementType()); + else if (Ty) Result += EVT::getEVT(Ty).getEVTString(); return Result; }