On 5/23/24 6:14 AM, Richard Biener wrote:
On Thu, May 23, 2024 at 1:08 PM Li, Pan2 <pan2...@intel.com> wrote:
I have a try to convert the PHI from Part-A to Part-B, aka PHI to _2 = phi_cond
? _1 : 255.
And then we can do the matching on COND_EXPR in the underlying widen-mul pass.
Unfortunately, meet some ICE when verify_gimple_phi in sccopy1 pass =>
sat_add.c:66:1: internal compiler error: tree check: expected class ‘type’,
have ‘exceptional’ (error_mark) in useless_type_conversion_p, at
gimple-expr.cc:86
Likely you have released _2, more comments below on your previous mail.
You can be sure by calling debug_tree () on the SSA_NAME node in
question. If it reports "in-free-list", then that's definitive that the
SSA_NAME was released back to the SSA_NAME manager. If that SSA_NAME is
still in the IL, then that's very bad.
jeff