[PATCH] D27280: [PGO] fix PGO use ICE when there are unreachable BBs

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 13:42:25 PST 2016


davidxl added a comment.

I suggest adding a new interface 'findBBInfo' returns pointer (which can be null) and use it in context that can do null check. Other users of the getBBInfo won't change.


https://reviews.llvm.org/D27280





More information about the llvm-commits mailing list