diff options
author | Xionghu Luo <luoxhu@linux.ibm.com> | 2020-11-26 23:38:33 -0600 |
---|---|---|
committer | Xionghu Luo <luoxhu@linux.ibm.com> | 2020-11-26 23:38:33 -0600 |
commit | 5e9f814d754be790aec5b69a95699a8af2654058 (patch) | |
tree | 5c47353bc9725a87669c2f77667625ef3a2fd8b0 /gcc/gcse-common.c | |
parent | 3493b0c32815faf003cbd18dd2c1ff30818f5770 (diff) | |
download | gcc-5e9f814d754be790aec5b69a95699a8af2654058.zip gcc-5e9f814d754be790aec5b69a95699a8af2654058.tar.gz gcc-5e9f814d754be790aec5b69a95699a8af2654058.tar.bz2 |
rs6000: Change rs6000_expand_vector_set param
rs6000_expand_vector_set could accept insert either to constant position
or variable position, so change the operand to reg_or_cint_operand.
gcc/ChangeLog:
2020-11-27 Xionghu Luo <luoxhu@linux.ibm.com>
* config/rs6000/rs6000-call.c (altivec_expand_vec_set_builtin):
Change call param 2 from type int to rtx.
* config/rs6000/rs6000-protos.h (rs6000_expand_vector_set):
Likewise.
* config/rs6000/rs6000.c (rs6000_expand_vector_init):
Change call param 2 from type int to rtx.
(rs6000_expand_vector_set): Likewise.
* config/rs6000/vector.md (vec_set<mode>): Support both constant
and variable index vec_set.
Diffstat (limited to 'gcc/gcse-common.c')
0 files changed, 0 insertions, 0 deletions