[PATCH] D75924: [Attributor] AANoCapture: Regard a comparison to null as nocapture
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 09:46:41 PDT 2020
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:4361
+ F, U->get()->getType()->getPointerAddressSpace())
+ : true;
+ if (!NullPointerIsDefined &&
----------------
I think we have enough use cases of this hideous construct by now that we can make a helper function.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75924/new/
https://reviews.llvm.org/D75924
More information about the llvm-commits
mailing list