Files
clang-p2996/llvm/lib/Transforms/IPO/Inliner.cpp
Alex MacLean 795aebf388 [Inliner][NFC] Remove redundant nullptr check
Remove the null pointer check on Callee since it is guaranteed to pass by the check
at the top of the loop which continues if Callee is null. While this change is somewhat
trivial, for what it's worth this check triggers Coverity warnings because it implies that
Callee might be null at this point even though it is dereferenced in the preceding code.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D145463
2023-03-07 17:22:38 -08:00

51 KiB