[PATCH] D75341: [BFI] Use CallbackVH to notify BFI about deletion of basic blocks

Daniil Suchkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 20:43:04 PST 2020


DaniilSuchkov added a comment.

In D75341#1898925 <https://reviews.llvm.org/D75341#1898925>, @davidxl wrote:

> Can you make BlockKeyT to be AssertingVH<const BasicBlock> to avoid the const castings?


Sadly, ValueHandles don't work with non-const pointers.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75341/new/

https://reviews.llvm.org/D75341





More information about the llvm-commits mailing list