[PATCH] D86477: [ValueTracking] Let getGuaranteedNonPoisonOp find multiple non-poison operands

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 10:47:24 PDT 2020


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

This patch helps getGuaranteedNonPoisonOp find multiple non-poison operands.

Instead of special-casing llvm.assume, I think it is also a viable option to
add noundef to Intrinsics.td. If it makes sense, I'll make a patch for that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86477

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
  llvm/test/Transforms/InstSimplify/freeze-noundef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86477.287446.patch
Type: text/x-patch
Size: 4926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200824/9d09ceb9/attachment.bin>


More information about the llvm-commits mailing list