RE: [PATCH v4 1/4] Match: Add interface match_cond_with_binary_phi for true/false arg

2024-09-18 Thread Li, Pan2
@gmail.com Subject: Re: [PATCH v4 1/4] Match: Add interface match_cond_with_binary_phi for true/false arg On Wed, Sep 18, 2024 at 2:02 PM Richard Biener wrote: > > On Fri, Sep 13, 2024 at 12:42 AM wrote: > > > > From: Pan Li > > > > When matching the cond with 2 args p

Re: [PATCH v4 1/4] Match: Add interface match_cond_with_binary_phi for true/false arg

2024-09-18 Thread Richard Biener
On Wed, Sep 18, 2024 at 2:02 PM Richard Biener wrote: > > On Fri, Sep 13, 2024 at 12:42 AM wrote: > > > > From: Pan Li > > > > When matching the cond with 2 args phi node, we need to figure out > > which arg of phi node comes from the true edge of cond block, as > > well as the false edge. This

Re: [PATCH v4 1/4] Match: Add interface match_cond_with_binary_phi for true/false arg

2024-09-18 Thread Richard Biener
On Fri, Sep 13, 2024 at 12:42 AM wrote: > > From: Pan Li > > When matching the cond with 2 args phi node, we need to figure out > which arg of phi node comes from the true edge of cond block, as > well as the false edge. This patch would like to add interface > to perform the action and return t

[PATCH v4 1/4] Match: Add interface match_cond_with_binary_phi for true/false arg

2024-09-12 Thread pan2 . li
From: Pan Li When matching the cond with 2 args phi node, we need to figure out which arg of phi node comes from the true edge of cond block, as well as the false edge. This patch would like to add interface to perform the action and return the true and false arg in TREE type. There will be som