[PATCH] D83926: [ValueTracking] Let isGuaranteedNotToBeUndefOrPoison use canCreateUndefOrPoison
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 19 09:24:53 PDT 2020
jdoerfert added a comment.
No objections from me anymore.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4785
- if (isa<FreezeInst>(V))
- return true;
- // TODO: Some instructions are guaranteed to return neither undef
----------------
Personally, I'd keep freeze up top, easy case after all ;). No strong opinion though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83926/new/
https://reviews.llvm.org/D83926
More information about the llvm-commits
mailing list