search for: rightattrtyp

Displaying 2 results from an estimated 2 matches for "rightattrtyp".

Did you mean: rightattrtype
2014 Mar 13
2
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...e())), > + RightSN = sn_mapR.insert(std::make_pair(V2, sn_mapR.size())); > > "auto"? > > 0005: > > Okay, this makes attributes ordered. > > + enum AttrType { > + Enum, > + Align, > + Other > + } LeftAttrType = Other, RightAttrType = Other; > + > + if (LA.isAlignAttribute()) LeftAttrType = Align; > + else if (LA.isEnumAttribute()) LeftAttrType = Enum; > + if (RA.isAlignAttribute()) RightAttrType = Align; > + else if (RA.isEnumAttribute()) RightAttrType = Enum; > + > + if (int Res...
2014 Feb 27
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Nick, I tried to rework changes as you requested. One of patches (0004 with extra assertions) has been removed. > + bool isEquivalentType(Type *Ty1, Type *Ty2) const { > + return cmpType(Ty1, Ty2) == 0; > + } > > Why do we still need isEquivalentType? Can we nuke this? Yup. After applying all the patches isEquivalentType will be totally replaced with cmpType. All