[all-commits] [llvm/llvm-project] 1c6c85: InstCombine: extend select-equiv to support vector...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue Oct 15 03:11:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c6c8509371bd4ef80f4954a30f536db10b7e1ce
      https://github.com/llvm/llvm-project/commit/1c6c8509371bd4ef80f4954a30f536db10b7e1ce
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/and-or-icmps.ll
    M llvm/test/Transforms/InstCombine/select-binop-cmp.ll
    M llvm/test/Transforms/InstCombine/select-value-equivalence.ll

  Log Message:
  -----------
  InstCombine: extend select-equiv to support vectors (#111966)

foldSelectEquivalence currently doesn't support GVN-like replacements on
vector types. Put in the checks for potentially lane-crossing
operations, and lift the limitation.



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