Skip to content

Commit

Permalink
[IR] Bump AttributeBitSet width to 16 bytes (llvm#106138)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxuanchen1997 authored Aug 27, 2024
1 parent 085587e commit 1200d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/IR/AttributeImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class ConstantRangeListAttributeImpl final

class AttributeBitSet {
/// Bitset with a bit for each available attribute Attribute::AttrKind.
uint8_t AvailableAttrs[12] = {};
uint8_t AvailableAttrs[16] = {};
static_assert(Attribute::EndAttrKinds <= sizeof(AvailableAttrs) * CHAR_BIT,
"Too many attributes");

Expand Down

0 comments on commit 1200d35

Please sign in to comment.