[PATCH] D93845: [ValueTracking] Use m_LogicalAnd/Or to look into conditions

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 27 13:42:12 PST 2020


aqjune created this revision.
aqjune added reviewers: nikic, lebedev.ri, spatel.
Herald added a subscriber: hiraditya.
aqjune requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch updates isImpliedCondition/isKnownNonZero to look into select form of
and/or as well.

See llvm.org/pr48353 and D93065 <https://reviews.llvm.org/D93065> for more context


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93845

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93845.313804.patch
Type: text/x-patch
Size: 6706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201227/76bba466/attachment.bin>


More information about the llvm-commits mailing list