diff options
author | Devang Patel <dpatel@apple.com> | 2011-07-13 21:23:30 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-07-13 21:23:30 +0000 |
commit | d15608e9861ae4c2667780e5f5b59d6b10472aec (patch) | |
tree | 3597e56c38da40686a4cba7807fb4b4b32aa252c | |
parent | 8da9316c5a97887da0bf84a2ea45daf43ddf572b (diff) |
Emit debug info for extended vectors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135083 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 3 | ||||
-rw-r--r-- | test/CodeGen/debug-info.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 687aea5c08..4c12445917 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -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: diff --git a/test/CodeGen/debug-info.c b/test/CodeGen/debug-info.c index 876c6c2242..af2ce969bc 100644 --- a/test/CodeGen/debug-info.c +++ b/test/CodeGen/debug-info.c @@ -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]; |