aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2023-10-01 18:14:44 +0800
committerKito Cheng <kito.cheng@sifive.com>2023-10-11 13:21:08 -0700
commit9452d13b1afb295c3764bb1134f3ac1a1d804989 (patch)
tree9f8e6cb0c59e77c5ee1142bf61123e1fa70d21a8 /libgcc
parent0363bba87feeb00464a5c2d3e7050b9d3f9f93cb (diff)
downloadgcc-9452d13b1afb295c3764bb1134f3ac1a1d804989.zip
gcc-9452d13b1afb295c3764bb1134f3ac1a1d804989.tar.gz
gcc-9452d13b1afb295c3764bb1134f3ac1a1d804989.tar.bz2
RISC-V: Refactor riscv_option_override and riscv_convert_vector_bits. [NFC]
Allow those funciton apply from a local gcc_options rather than the global options. Preparatory for target attribute, sperate this change for eaiser reivew since it's a NFC. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_convert_vector_bits): Get setting from argument rather than get setting from global setting. (riscv_override_options_internal): New, splited from riscv_override_options, also take a gcc_options argument. (riscv_option_override): Splited most part to riscv_override_options_internal.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions