Skip to content
  • Bob Wilson's avatar
    57b946c9
    PR4795: Remove EEVT::isFP, isInt and isVec types used by TableGen's type · 57b946c9
    Bob Wilson authored
    inferencing.  As far as I can tell, these are equivalent to the existing
    MVT::fAny, iAny and vAny types, and having both of them makes it harder
    to reason about and modify the type inferencing code.
    
    The specific problem in PR4795 occurs when updating a vAny type to be fAny
    or iAny, or vice versa.  Both iAny and fAny include vector types -- they
    intersect with the set of types represented by vAny.  When merging them,
    choose fAny/iAny to represent the intersection.  This is not perfect, since
    fAny/iAny also include scalar types, but it is good enough for TableGen's
    type inferencing.
    
    llvm-svn: 80423
    57b946c9
    PR4795: Remove EEVT::isFP, isInt and isVec types used by TableGen's type
    Bob Wilson authored
    inferencing.  As far as I can tell, these are equivalent to the existing
    MVT::fAny, iAny and vAny types, and having both of them makes it harder
    to reason about and modify the type inferencing code.
    
    The specific problem in PR4795 occurs when updating a vAny type to be fAny
    or iAny, or vice versa.  Both iAny and fAny include vector types -- they
    intersect with the set of types represented by vAny.  When merging them,
    choose fAny/iAny to represent the intersection.  This is not perfect, since
    fAny/iAny also include scalar types, but it is good enough for TableGen's
    type inferencing.
    
    llvm-svn: 80423
Loading