diff options
author | Li Wei <liwei@loongson.cn> | 2024-01-11 19:36:33 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2024-01-12 09:48:06 +0800 |
commit | ee005e72f5fbd258262a93499bdd49a60c0f9714 (patch) | |
tree | 3aa93a56e5f5c2fea902035fcd880e2f27c64f88 /gcc/fold-const.cc | |
parent | 493bebb3cdee6c4dc4828695f7d3b36a9844d0f8 (diff) | |
download | gcc-ee005e72f5fbd258262a93499bdd49a60c0f9714.zip gcc-ee005e72f5fbd258262a93499bdd49a60c0f9714.tar.gz gcc-ee005e72f5fbd258262a93499bdd49a60c0f9714.tar.bz2 |
LoongArch: Redundant sign extension elimination optimization 2.
Eliminate the redundant sign extension that exists after the conditional
move when the target register is SImode.
gcc/ChangeLog:
* config/loongarch/loongarch.cc (loongarch_expand_conditional_move):
Adjust.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/sign-extend-2.c: Adjust.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions