[PATCH] D86361: [Attributor] fix AANoUndef initialization
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 11:56:43 PDT 2020
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:7718
indicateOptimisticFixpoint();
- else if (isGuaranteedNotToBeUndefOrPoison(&V))
+ else if (!isa<Function>(V) && isGuaranteedNotToBeUndefOrPoison(&V))
indicateOptimisticFixpoint();
----------------
can we check the position kind instead? This impacts function pointers as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86361/new/
https://reviews.llvm.org/D86361
More information about the llvm-commits
mailing list