diff options
author | Jiahao Xu <xujiahao@loongson.cn> | 2024-01-24 17:19:13 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2024-01-25 15:50:24 +0800 |
commit | 77159546b2848b61159ac49882f7b1144e62eaaa (patch) | |
tree | e781dd262dbad0e9b82e1d079eb00cebc360c19e /gcc/fold-const.cc | |
parent | 578c7b91f418ebbef1bf169117815409e06f5197 (diff) | |
download | gcc-77159546b2848b61159ac49882f7b1144e62eaaa.zip gcc-77159546b2848b61159ac49882f7b1144e62eaaa.tar.gz gcc-77159546b2848b61159ac49882f7b1144e62eaaa.tar.bz2 |
LoongArch: Remove vec_concatz<mode> pattern.
It is incorrect to use vld/vori to implement the vec_concatz<mode> because when the LSX
instruction is used to update the value of the vector register, the upper 128 bits of
the vector register will not be zeroed.
gcc/ChangeLog:
* config/loongarch/lasx.md (@vec_concatz<mode>): Remove this define_insn pattern.
* config/loongarch/loongarch.cc (loongarch_expand_vector_group_init): Use vec_concat<mode>.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions