From 12e2fde436d38782477f681dbf3fc83b8095e188 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Fri, 13 Jul 2018 19:46:04 +0000 Subject: PR15730/PR16986 Allow dependently typed vector_size types. As listed in the above PRs, vector_size doesn't allow dependent types/values. This patch introduces a new DependentVectorType to handle a VectorType that has a dependent size or type. In the future, ALL the vector-types should be able to create one of these to handle dependent types/sizes as well. For example, DependentSizedExtVectorType could likely be switched to just use this instead, though that is left as an exercise for the future. Differential Revision: https://reviews.llvm.org/D49045 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337036 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/LiteralSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Lex') diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp index e414f85e02..c1be3b2a97 100644 --- a/lib/Lex/LiteralSupport.cpp +++ b/lib/Lex/LiteralSupport.cpp @@ -734,7 +734,7 @@ NumericLiteralParser::NumericLiteralParser(StringRef TokSpelling, if (!hadError && saw_fixed_point_suffix) { assert(isFract || isAccum); - assert(radix == 16 || radix == 10); + //assert(radix == 16 || radix == 10); } } -- cgit v1.2.3