]> granicus.if.org Git - clang/commitdiff
Emit debug info for extended vectors.
authorDevang Patel <dpatel@apple.com>
Wed, 13 Jul 2011 21:23:30 +0000 (21:23 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 13 Jul 2011 21:23:30 +0000 (21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135083 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/debug-info.c

index 687aea5c08795b5a6c07df340d3cf3c55a77ab63..4c12445917433c9bda8ad80d590d432084334fc9 100644 (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:
index 876c6c22423d21bb44f14909f08a5be4db158c24..af2ce969bcebbabc5bb2aef829b9cd330676f18b 100644 (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];