[PATCH] D62507: [Dominators] PR42041: Skip nullpointer successors
Artem Dergachev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 27 20:40:30 PDT 2019
NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
@Szelethus, could you double-check that there's no way to tweak some graph traits (or something like that) in order to filter out null-successors specifically for Clang CFG? I don't immediately see a way to do that, but i might have missed something. Given that `ChildrenGetter<Direction>::Get` returns a `SmallVector`, it shouldn't be that impossible.
Otherwise i hope an extra defensive check wouldn't hurt.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62507/new/
https://reviews.llvm.org/D62507
More information about the llvm-commits
mailing list