[all-commits] [llvm/llvm-project] 860199: [ValueTracking] Use m_LogicalAnd/Or to look into c...

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Sun Dec 27 15:37:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 860199dfbe60d78a7da6406622b635a2d4435db3
      https://github.com/llvm/llvm-project/commit/860199dfbe60d78a7da6406622b635a2d4435db3
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2020-12-28 (Mon, 28 Dec 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/unittests/Analysis/ValueTrackingTest.cpp

  Log Message:
  -----------
  [ValueTracking] Use m_LogicalAnd/Or to look into conditions

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

See llvm.org/pr48353 and D93065 for more context

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93845




More information about the All-commits mailing list