[PATCH] D124878: [Bitcode] Include indirect users of BlockAddresses in bitcode
Wende Tan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 14:55:17 PDT 2022
twd2 updated this revision to Diff 428501.
twd2 added a comment.
Use `SmallSetVector` instead in `SmallPtrSet<Function *, 4> BlockAddressUsers;` to make sure that the order of users encoded in the bitcode is independent of the internal algorithm of `SmallPtrSet`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124878/new/
https://reviews.llvm.org/D124878
Files:
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/test/Bitcode/blockaddress-aggregate-users.ll
llvm/test/Bitcode/blockaddress-expr-users.ll
llvm/test/Bitcode/blockaddress-globalvalue-users.ll
llvm/test/Bitcode/blockaddress-nested-users.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124878.428501.patch
Type: text/x-patch
Size: 7091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220510/daba6474/attachment.bin>
More information about the llvm-commits
mailing list