[all-commits] [llvm/llvm-project] 193c40: [InstSimplify] Fold A|B | (A^B) --> A|B
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Mon Nov 15 13:49:35 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 193c40e9667ca2b173232b393fc72ea9e4944aa3
https://github.com/llvm/llvm-project/commit/193c40e9667ca2b173232b393fc72ea9e4944aa3
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2021-11-15 (Mon, 15 Nov 2021)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/or.ll
Log Message:
-----------
[InstSimplify] Fold A|B | (A^B) --> A|B
This patch adds the following fold opportunity:
A|B | (A^B) --> A|B
that is reported here : https://bugs.llvm.org/show_bug.cgi?id=52479
https://alive2.llvm.org/ce/z/33-My-
Test cases with base results are added in D113860
(authored by MehrHeidar, committed by rampitec).
Differential Revision: https://reviews.llvm.org/D113861
More information about the All-commits
mailing list