davidxl added a comment. Do you mean it does not work well for const pointers? There are existing uses of AssertingVH<const BasicBlock> or AssertingVH<const Value>? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75341/new/ https://reviews.llvm.org/D75341