Re: [PATCH] RISC-V: Rename some variables of vector_block_info[NFC]

2023-10-20 Thread Kito Cheng
> 1. Remove "m_" prefix as they are not private members. Actually it's not only for private members[1], but I think it's not mandatory, anyway it's not objection, and I am OK with that, just share the doc [1] "When structs and/or classes have member functions, prefer to name data members with a l

[PATCH] RISC-V: Rename some variables of vector_block_info[NFC]

2023-10-20 Thread Juzhe-Zhong
1. Remove "m_" prefix as they are not private members. 2. Rename infos -> local_infos, info -> global_info to clarify their meaning. Pushed as it is obvious. gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (pre_vsetvl::fuse_local_vsetvl_info): Rename variables. (pre_vsetvl::pre_gl