gt; witnessed.
>
> Any suggestion?
>
> Thanks,
> Haijian Zhang
>
> pr94274-v1.diff
>
> From 1f0f09ef3170569ef15791cf3e70de781a9a4cb0 Mon Sep 17 00:00:00 2001
> From: Haijian Zhang
> Date: Thu, 11 Jun 2020 14:56:44 +0800
> Subject: [PATCH] fold phi whose incoming
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
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