[PATCH] D38204: [TargetTransformInfo] Check if function pointer is valid before calling isLoweredToCall
Guozhi Wei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 10:48:33 PDT 2017
Carrot added a comment.
In https://reviews.llvm.org/D38204#880129, @mcrosier wrote:
> Would it make sense to also add an assertion in isLoweredToCall asserting that F is non-null?
>
> Also, is this something that can be tested? Something that shows the compiler doesn't segfault would be sufficient.
done.
https://reviews.llvm.org/D38204
More information about the llvm-commits
mailing list