[all-commits] [llvm/llvm-project] 1679b2: [InstCombine] Fix transforms of two select pattern...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sun Sep 17 10:28:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1679b20cd0eef31b2c7ba5b4364cc59666fe945c
      https://github.com/llvm/llvm-project/commit/1679b20cd0eef31b2c7ba5b4364cc59666fe945c
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-and-or.ll

  Log Message:
  -----------
  [InstCombine] Fix transforms of two select patterns (#65845)

This patch fixes transforms of `select (~a | c), a, b` and `select (c &
b), a, b` as discussed in [D158983](https://reviews.llvm.org/D158983).
Alive2: https://alive2.llvm.org/ce/z/ft6TDw




More information about the All-commits mailing list