]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Return const ref. for vl_vtype_info::get_avl_info
authorKito Cheng <kito.cheng@sifive.com>
Tue, 27 Dec 2022 15:18:26 +0000 (23:18 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Wed, 28 Dec 2022 01:35:28 +0000 (09:35 +0800)
commit31ec203247413f150d5244198efd586fc6d2ef5e
treeb8063376f7903f232e7b8406d729da58bbcb38ec
parent7b885ecc05fef0e7437ace59254336f8e8d9ebe6
RISC-V: Return const ref. for vl_vtype_info::get_avl_info

Return const reference could prevent unnecessary copying.

gcc/

* config/riscv/riscv-vsetvl.h (vl_vtype_info::get_avl_info):
Return const reference rather than value.
gcc/config/riscv/riscv-vsetvl.h
This page took 0.055907 seconds and 5 git commands to generate.