[all-commits] [llvm/llvm-project] 8674a0: [InstCombine] fold (Binop phi(a, b) phi(b, a)) -> ...
Chia via All-commits
all-commits at lists.llvm.org
Thu Dec 21 06:47:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8674a023bcacb677ce48b8831e2ae35b5aa2d8ef
https://github.com/llvm/llvm-project/commit/8674a023bcacb677ce48b8831e2ae35b5aa2d8ef
Author: Chia <sun1011jacobi at gmail.com>
Date: 2023-12-21 (Thu, 21 Dec 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
A llvm/test/Transforms/InstCombine/commutative-operation-over-phis.ll
Log Message:
-----------
[InstCombine] fold (Binop phi(a, b) phi(b, a)) -> (Binop a, b) while Binop is commutative. (#75765)
Alive2 proof: https://alive2.llvm.org/ce/z/2P8gq-
This patch closes #73905
More information about the All-commits
mailing list