[all-commits] [llvm/llvm-project] ae9414: [ValueTracking] Only check for non-undef/poison if...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Feb 8 07:36:11 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae9414d5621f6de5060007ee12c3face233a98c1
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  [ValueTracking] Only check for non-undef/poison if already known to be a self-multiply

^ we don't care what `isGuaranteedNotToBeUndefOrPoison()` says
unless we already knew that the operands were equal.

More information about the All-commits mailing list