================
@@ -570,27 +579,35 @@ void SVEType::applyTypespec(StringRef TS) {
for (char I : TS) {
switch (I) {
case 'Q':
+ assert(Kind == Invalid && "Invalid use of modifer!");
Kind = Svcount;
break;
case 'P':
+ assert(Kind == Invalid && "Invalid use of modifer!");
Kind = Predicate;
break;
case 'U':
+ assert(Kind == Invalid && "Invalid use of modifer!");
Kind = UInt;
break;
case 'c':
+ Kind = isInvalid() ? SInt : Kind;
ElementBitwidth = 8;
break;
case 's':
+ Kind = isInvalid() ? SInt : Kind;
ElementBitwidth = 16;
break;
case 'i':
+ Kind = isInvalid() ? SInt : Kind;
ElementBitwidth = 32;
break;
case 'l':
+ Kind = isInvalid() ? SInt : Kind;
ElementBitwidth = 64;
break;
case 'q':
+ Kind = SInt;
----------------
sdesmalen-arm wrote:
Can this not be `uint128_t` for `Uq` ?
https://github.com/llvm/llvm-project/pull/117717
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits