[all-commits] [llvm/llvm-project] e044cc: [GVN] Handle not in equality propagation (#151942)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Aug 5 00:11:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e044cc50eec8b2875b047c242f7afa4bc47046fe
      https://github.com/llvm/llvm-project/commit/e044cc50eec8b2875b047c242f7afa4bc47046fe
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/test/Transforms/GVN/condprop.ll

  Log Message:
  -----------
  [GVN] Handle not in equality propagation (#151942)

Look through `not` when propagating equalities in GVN. Usually these
will be canonicalized away, but they may be retained due to multi-use or
involvement in logical expressions.

Fixes https://github.com/llvm/llvm-project/issues/143529.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list