[PATCH] D83752: [ValueTracking] Let isGuaranteedNotToBeUndefOrPoison consider noundef
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 09:27:55 PDT 2020
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4757
+ if (auto *A = dyn_cast<Argument>(V)) {
+ // NoUndef does not guarantee that paddings are not undef.
+ if (A->hasAttribute(Attribute::NoUndef))
----------------
This comment seems a bit out of context now that the IgnorePadding flag is gone.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83752/new/
https://reviews.llvm.org/D83752
More information about the llvm-commits
mailing list