[llvm] [IR] Allow MDString in operand bundles (PR #110805)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 01:59:49 PDT 2024
================
@@ -3941,6 +3941,15 @@ bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) {
ID.Kind = ValID::t_Constant;
return false;
+ case lltok::exclaim: {
+ Lex.Lex();
+ ID.StrVal = Lex.getStrVal();
+ if (parseToken(lltok::StringConstant, "expected string"))
----------------
arsenm wrote:
Test error case
https://github.com/llvm/llvm-project/pull/110805
More information about the llvm-commits
mailing list