Emit debug info for extended vectors.

llvm-svn: 135083
This commit is contained in:
Devang Patel 2011-07-13 21:23:30 +00:00
parent cabb48d511
commit f0335ce632
2 changed files with 5 additions and 3 deletions

View File

@ -1524,10 +1524,7 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty,
#include "clang/AST/TypeNodes.def"
assert(false && "Dependent types cannot show up in debug information");
// FIXME: Handle these.
case Type::ExtVector:
return llvm::DIType();
case Type::Vector:
return CreateType(cast<VectorType>(Ty), Unit);
case Type::ObjCObjectPointer:

View File

@ -54,3 +54,8 @@ __uint128_t foo128 ()
__uint128_t int128 = 44;
return int128;
}
// CHECK: uint64x2_t
typedef unsigned long long uint64_t;
typedef uint64_t uint64x2_t __attribute__((ext_vector_type(2)));
uint64x2_t extvectbar[4];