diff options
author | Pan Li <pan2.li@intel.com> | 2025-04-17 10:27:17 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2025-04-27 10:09:15 +0800 |
commit | ab22b8c630769330b4f37eb64d2bc285344a647a (patch) | |
tree | 4f371151a204abc41181d79d19b77cb261a17181 /gcc/ada/gcc-interface/utils.cc | |
parent | cf0283a8ed035e382a3870a8dce554acf7dfc82e (diff) | |
download | gcc-ab22b8c630769330b4f37eb64d2bc285344a647a.zip gcc-ab22b8c630769330b4f37eb64d2bc285344a647a.tar.gz gcc-ab22b8c630769330b4f37eb64d2bc285344a647a.tar.bz2 |
RISC-V: Extract vector stepped for expand_const_vector [NFC]
Consider the expand_const_vector is quit long (about 500 lines)
and complicated, we would like to extract the different case
into different functions. For example, the const vector stepped
will be extracted into expand_const_vector_stepped.
The below test suites are passed for this patch.
* The rv64gcv fully regression test.
gcc/ChangeLog:
* config/riscv/riscv-v.cc (expand_const_vector): Extract
const vector stepped into separated func.
(expand_const_vector_single_step_npatterns): Add new func
to take care of single step.
(expand_const_vector_interleaved_stepped_npatterns): Add new
func to take care of interleaved step.
(expand_const_vector_stepped): Add new func to take care of
const vector stepped.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions