RE: [PATCH V3] DSE: Add LEN_MASK_STORE analysis into DSE and fix LEN_STORE

2023-06-26 Thread Li, Pan2 via Gcc-patches
: [PATCH V3] DSE: Add LEN_MASK_STORE analysis into DSE and fix LEN_STORE On Mon, 26 Jun 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, Richi. > > This patch is adding LEN_MASK_STORE into DSE. > > My understanding is LEN_MASK_STORE is predicated by mask and le

Re: [PATCH V3] DSE: Add LEN_MASK_STORE analysis into DSE and fix LEN_STORE

2023-06-26 Thread Richard Biener via Gcc-patches
On Mon, 26 Jun 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, Richi. > > This patch is adding LEN_MASK_STORE into DSE. > > My understanding is LEN_MASK_STORE is predicated by mask and len. > No matter len is constant or not, the ao_ref should be the same as MASK_STORE. > > Whe

[PATCH V3] DSE: Add LEN_MASK_STORE analysis into DSE and fix LEN_STORE

2023-06-26 Thread juzhe . zhong
From: Ju-Zhe Zhong Hi, Richi. This patch is adding LEN_MASK_STORE into DSE. My understanding is LEN_MASK_STORE is predicated by mask and len. No matter len is constant or not, the ao_ref should be the same as MASK_STORE. Wheras for LEN_STORE, when len is constant, we use (len - bias), otherwis