[all-commits] [llvm/llvm-project] 1fd4d9: [InstSimplify] Fold !(X || Y) && X --> false

chenglin.bi via All-commits all-commits at lists.llvm.org
Tue Nov 29 06:45:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fd4d91fa6637c2edcbd9f6434db6d9dadcea0df
      https://github.com/llvm/llvm-project/commit/1fd4d91fa6637c2edcbd9f6434db6d9dadcea0df
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-11-29 (Tue, 29 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 --> false

!(X || Y) && X --> false
https://alive2.llvm.org/ce/z/693Jgv

Fix: [56654](https://github.com/llvm/llvm-project/issues/56654)
Fix: [56780](https://github.com/llvm/llvm-project/issues/56780)

Reviewed By: spatel

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




More information about the All-commits mailing list