Skip to content

Bump width of AttributeBitSet to 16 bytes #106134

Closed
@yuxuanchen1997

Description

@yuxuanchen1997

With my recent rebase of #99282, I discovered that my code no longer compiles because we have more than 96 attributes. There's a static assertion that prevents the current AttributeBitSet from overflowing and the current width for the bitset is 12 bytes.

https://github.com/llvm/llvm-project/blob/main/llvm/lib/IR/AttributeImpl.h#L278

I propose that we should for now bump the width to 16 bytes (128 unique attributes).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions