[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:39:36 PDT 2020


aqjune created this revision.
aqjune added reviewers: nikic, jdoerfert.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This patch adds isGuaranteedNotToBePoison,
getGuaranteedNonUndefOrPoisonOp, and programUndefinedIfUndefOrPoison.

isGuaranteedNotToBePoison will be used at D75808 <https://reviews.llvm.org/D75808>. The latter two functions are
needed for isGuaranteedNotToBePoison.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84242

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84242.279536.patch
Type: text/x-patch
Size: 16270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200721/13983fff/attachment.bin>


More information about the llvm-commits mailing list