diff options
author | Nikita Popov <npopov@redhat.com> | 2025-05-02 13:03:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-02 13:03:43 +0200 |
commit | 7f5c34bc5e54e0fb149275d9ee6805e9e6a7a3ea (patch) | |
tree | 9d55b8f6526a354259e2ed4bb3bdfd7a08a7a2f9 /clang/lib/Basic/IdentifierTable.cpp | |
parent | cf2f13a867fb86b5c7ce33df8a569477dce71f4f (diff) | |
download | llvm-7f5c34bc5e54e0fb149275d9ee6805e9e6a7a3ea.zip llvm-7f5c34bc5e54e0fb149275d9ee6805e9e6a7a3ea.tar.gz llvm-7f5c34bc5e54e0fb149275d9ee6805e9e6a7a3ea.tar.bz2 |
[IR] Replace blockaddress refcount with single flag (#138239)
BasicBlock currently has a blockaddress refcount. However,
blockaddresses are uniqued, which means that there can only be a single
blockaddress for a given BasicBlock. Prior to #137958 there were some
edge case exceptions to this, but now it always holds. As such, replace
the refcount with a single flag.
As we're now just tracking two bits, I've dropped the BasicBlockBits
structure, as I found it more annoying than useful (esp with the weird
AIX workarounds). Instead handle the subclass data the same way we do in
Operators.
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions