On 6/11/20 6:01 AM, Zhanghaijian (A) wrote:
> Hi,
>
> This is a experimental fix for pr94274.
> For if/else structure, when the expressions is binary operation and have a
> common subexpression, and the opcode is the same, we can
> fold the merging phi node in tree_ssa_phiopt_worker (ssa-phiopt
On Thu, 11 Jun 2020, Zhanghaijian (A) wrote:
> Hi,
>
> This is a experimental fix for pr94274. For if/else structure, when the
> expressions is binary operation and have a common subexpression, and the
> opcode is the same, we can fold the merging phi node in
> tree_ssa_phiopt_worker (ssa-phio
Hi,
This is a experimental fix for pr94274.
For if/else structure, when the expressions is binary operation and have a
common subexpression, and the opcode is the same, we can
fold the merging phi node in tree_ssa_phiopt_worker (ssa-phiopt). It can be
optimized to do csel first and then do binar