[PATCH] D47895: llvm: Add support for "-fno-delete-null-pointer-checks"
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 11:19:46 PDT 2018
xbolva00 added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:3921
+ if ((isa<ConstantPointerNull>(Callee) &&
+ !NullPointerIsDefined(CS.getInstruction()->getParent()->getParent())) ||
+ isa<UndefValue>(Callee)) {
----------------
getParent()->getParent()
to
getFunction()
Same below
Repository:
rL LLVM
https://reviews.llvm.org/D47895
More information about the llvm-commits
mailing list