[all-commits] [llvm/llvm-project] f29733: [InstSimplify] Fold (X || Y) ? X : Y --> X

chenglin.bi via All-commits all-commits at lists.llvm.org
Tue Nov 29 18:14:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2973327496fc966c4e895973400c99d6bd63aa2
      https://github.com/llvm/llvm-project/commit/f2973327496fc966c4e895973400c99d6bd63aa2
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/select-logical.ll

  Log Message:
  -----------
  [InstSimplify] Fold (X || Y) ? X : Y --> X

(X || Y) ? X : Y --> X
https://alive2.llvm.org/ce/z/oRQJee

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D138815




More information about the All-commits mailing list