[all-commits] [llvm/llvm-project] 61c4d7: [InstCombine] Add tests for expanding `foldSelectV...

goldsteinn via All-commits all-commits at lists.llvm.org
Sat Jun 22 20:16:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61c4d7b9231d22f8cff7a6a6b3b52d401cba9f6f
      https://github.com/llvm/llvm-project/commit/61c4d7b9231d22f8cff7a6a6b3b52d401cba9f6f
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    A llvm/test/Transforms/InstCombine/select-cmp-eq-op-fold.ll

  Log Message:
  -----------
  [InstCombine] Add tests for expanding `foldSelectValueEquivalence`; NFC


  Commit: b37a4b9991a0a669594b53caa0eb75f489211d69
      https://github.com/llvm/llvm-project/commit/b37a4b9991a0a669594b53caa0eb75f489211d69
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-cmp-eq-op-fold.ll

  Log Message:
  -----------
  [InstCombine] Improve coverage of `foldSelectValueEquivalence` for non-constants

If f(Y) simplifies to Y, replace with Y. This requires Y to be
non-undef.

Closes #94719


Compare: https://github.com/llvm/llvm-project/compare/05ba5c0648ae...b37a4b9991a0

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