Take mask_store/MASK_STORE as example. In gimple IR: MASK_STORE (ptr, align, mask, v) In maskstore RTL IR maskstore (ptr, v, mask)
For LEN_STORE/len_store, after adjusted: In gimple IR: LEN_STORE (ptr, align, len, bias, v) In len_store RTL IR len_store (ptr, v, len, bias) Similar to LEN_MASK_LOAD/STORE, their orders are consistent now after this patch. Thanks. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-07-03 17:17 To: juzhe.zhong; gcc-patches CC: rdapp.gcc; richard.sandiford; rguenther; linkw; krebbel Subject: Re: [PATCH V2] Middle-end: Change order of LEN_MASK_LOAD/LEN_MASK_STORE arguments Hi Juzhe, when changing the argument order for LEN_LOAD/LEN_STORE, you will also need to adjust rs6000's and s390's expanders. Regards Robin