[all-commits] [llvm/llvm-project] 31775e: [ValueTracking] Add tests for implied cond with sw...

goldsteinn via All-commits all-commits at lists.llvm.org
Sun Mar 17 15:46:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31775e1894959a92425106de2442159b33e478a6
      https://github.com/llvm/llvm-project/commit/31775e1894959a92425106de2442159b33e478a6
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-03-17 (Sun, 17 Mar 2024)

  Changed paths:
    A llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll

  Log Message:
  -----------
  [ValueTracking] Add tests for implied cond with swapped operands; NFC


  Commit: 01d8e1ca01223bdeda74096be2a1d869b2d52ea2
      https://github.com/llvm/llvm-project/commit/01d8e1ca01223bdeda74096be2a1d869b2d52ea2
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-03-17 (Sun, 17 Mar 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/InstCombine/shift.ll

  Log Message:
  -----------
  [ValueTracking] Handle non-canonical operand order in `isImpliedCondICmps`

We don't always have canonical order here, so do it manually.

Closes #85575


Compare: https://github.com/llvm/llvm-project/compare/8e5de66af3da...01d8e1ca0122

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