[llvm] Improve diagnostic for malformed constant vectors (PR #216253)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 4 10:16:27 PDT 2026
================
@@ -3178,6 +3178,9 @@ bool LLParser::parseType(Type *&Result, const Twine &Msg, bool AllowVoid) {
SMLoc TypeLoc = Lex.getLoc();
switch (Lex.getKind()) {
default:
+ if (InConstantVector && Lex.getKind() == lltok::APSInt)
----------------
im-lunex wrote:
addressed
https://github.com/llvm/llvm-project/pull/216253
More information about the llvm-commits
mailing list