[clang] [llvm] [IR] Make dead_on_return attribute optionally sized (PR #171712)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 03:45:18 PST 2026
================
@@ -2402,6 +2405,8 @@ Error BitcodeReader::parseAttributeGroupBlock() {
B.addDereferenceableAttr(Record[++i]);
else if (Kind == Attribute::DereferenceableOrNull)
B.addDereferenceableOrNullAttr(Record[++i]);
+ else if (Kind == Attribute::DeadOnReturn)
+ B.addDeadOnReturnAttr(DeadOnReturnInfo(Record[++i]));
----------------
nikic wrote:
Shouldn't this be using createFromIntValue?
https://github.com/llvm/llvm-project/pull/171712
More information about the cfe-commits
mailing list