[PATCH] D111643: [ValueTracking] Let propgatesPoison consider single poison operand.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 06:05:37 PDT 2021


fhahn updated this revision to Diff 379688.
fhahn edited the summary of this revision.
fhahn added a comment.

Updated to only provide propagatesPoison(const Use &PoisonOp). Note that this requires updating some of the existing users to first determine *which* operand is poison.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111643

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/test/Analysis/ScalarEvolution/nsw.ll
  llvm/unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111643.379688.patch
Type: text/x-patch
Size: 15629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211014/f1b01c53/attachment.bin>


More information about the llvm-commits mailing list