[PATCH] D84242: [ValueTracking] Add UndefOrPoison/Poison-only version of relevant functions

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 08:42:06 PDT 2020


aqjune marked an inline comment as done.
aqjune added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4831
     }
 
+    if (!canCreateUndefOrPoison(Opr, PoisonOnly) &&
----------------
This is a fix to a bug that caused returning false more often. Since it was a small change, embedded here


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84242/new/

https://reviews.llvm.org/D84242





More information about the llvm-commits mailing list