[llvm] Add the 'initialized' attribute langref and support (PR #84803)
Jan Voung via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 17:29:00 PDT 2024
================
@@ -930,11 +932,24 @@ void ModuleBitcodeWriter::writeAttributeGroupTable() {
Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum()));
if (Ty)
Record.push_back(VE.getTypeID(Attr.getValueAsType()));
- } else {
+ } else if (Attr.isConstantRangeAttribute()) {
assert(Attr.isConstantRangeAttribute());
----------------
jvoung wrote:
nit: can remove the assert?
https://github.com/llvm/llvm-project/pull/84803
More information about the llvm-commits
mailing list