RE: [PATCH v2 1/2] Genmatch: Support control flow graph case 1 for phi on condition

2024-09-09 Thread Li, Pan2
onday, September 9, 2024 8:27 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; tamar.christ...@arm.com; juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; rdapp....@gmail.com Subject: Re: [PATCH v2 1/2] Genmatch: Support control flow graph case 1 for phi on condition On Thu, Sep 5,

Re: [PATCH v2 1/2] Genmatch: Support control flow graph case 1 for phi on condition

2024-09-09 Thread Richard Biener
On Thu, Sep 5, 2024 at 2:01 PM wrote: > > From: Pan Li > > The gen_phi_on_cond can only support below control flow for cond > from day 1. Aka: > > +--+ > | def | > | ... | +-+ > | cond |-->| def | > +--+ | ... | >| +-+ >| | >v

[PATCH v2 1/2] Genmatch: Support control flow graph case 1 for phi on condition

2024-09-05 Thread pan2 . li
From: Pan Li The gen_phi_on_cond can only support below control flow for cond from day 1. Aka: +--+ | def | | ... | +-+ | cond |-->| def | +--+ | ... | | +-+ | | v | +-+ | | PHI |<--+ +-+ U