[llvm] [IR] Allow MDString in operand bundles (PR #110805)
Serge Pavlov via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 22:37:25 PDT 2024
================
@@ -6216,6 +6225,11 @@ bool LLParser::convertValIDToValue(Type *Ty, ValID &ID, Value *&V,
V = ConstantVector::getSplat(cast<VectorType>(Ty)->getElementCount(),
ID.ConstantVal);
return false;
+ case ValID::t_MDString:
+ if (!Ty->isMetadataTy())
+ return error(ID.Loc, "invalid type for metadata string");
----------------
spavloff wrote:
This code is not present anymore.
https://github.com/llvm/llvm-project/pull/110805
More information about the llvm-commits
mailing list