diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-08-29 05:53:25 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-08-29 05:53:25 +0000 |
commit | 57b946c94be7a225e61e9ad2c4b9cae45881e1a2 (patch) | |
tree | 6bb64e066fb54847cb344c5c9f5f6f06bc096567 /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | |
parent | 705539441b467c089fcba17ab58317af7982cdaa (diff) | |
download | bcm5719-llvm-57b946c94be7a225e61e9ad2c4b9cae45881e1a2.tar.gz bcm5719-llvm-57b946c94be7a225e61e9ad2c4b9cae45881e1a2.zip |
PR4795: Remove EEVT::isFP, isInt and isVec types used by TableGen's type
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
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions