[all-commits] [llvm/llvm-project] 90802e: [InstCombine] Handle commuted cases of the fold `(...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Fri Dec 29 07:59:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90802e652db348fd3218fcbfc3e6ac9e90702acd
      https://github.com/llvm/llvm-project/commit/90802e652db348fd3218fcbfc3e6ac9e90702acd
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/or.ll

  Log Message:
  -----------
  [InstCombine] Handle commuted cases of the fold `((B|C)&A)|B -> B|(A&C)` (#76565)

Alive2: https://alive2.llvm.org/ce/z/Qdsqk6

The commit https://github.com/llvm/llvm-project/commit/f1eda235142ed071e219bd231310e44cda08f932
didn't handle other cases that commute operands.




More information about the All-commits mailing list