]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/riscv/riscv-vsetvl.cc
RISC-V: Rename some variables of vector_block_info[NFC]
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Fri, 20 Oct 2023 08:23:18 +0000 (16:23 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Fri, 20 Oct 2023 08:27:44 +0000 (16:27 +0800)
commit4fd09aed384df6acb141ee1f319a500c239626a4
tree1ede475c965fdce2967e2564548e23759d736a93
parent88c27070c253094fb7e366583fbe09cec2371e8b
RISC-V: Rename some variables of vector_block_info[NFC]

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_global_vsetvl_info): Ditto.
(pre_vsetvl::emit_vsetvl): Ditto.
gcc/config/riscv/riscv-vsetvl.cc