diff options
author | Vineet Gupta <vineetg@rivosinc.com> | 2025-03-24 10:36:52 -0700 |
---|---|---|
committer | Vineet Gupta <vineetg@rivosinc.com> | 2025-03-25 08:04:29 -0700 |
commit | cb6070c79dd9334e7cfff40bacd21da4f337cc33 (patch) | |
tree | 4490aaa188c35fe3779321687dae2149f0589e4b /gcc/testsuite/c-c++-common/pr103798-9.c | |
parent | e0a1d0e044c6eb129d1133d5af51818129a4d4e0 (diff) | |
download | gcc-cb6070c79dd9334e7cfff40bacd21da4f337cc33.zip gcc-cb6070c79dd9334e7cfff40bacd21da4f337cc33.tar.gz gcc-cb6070c79dd9334e7cfff40bacd21da4f337cc33.tar.bz2 |
RISC-V: disable the abd expander for gcc-15 release [PR119224]
It seems the new expander triggers a latent issue in sched1 causing
extraneous spills in a different sad variant.
Given how close we are to gcc-15 release, disable it for now.
Since we do want to retain and re-enable this capabilty, manully disable
vs. reverting the orig patch which takes away the test case too.
Fix the orig test case to expect old codegen idiom (although vneg is no
longer emitted, in favor of vrsub).
Also add a new testcase which flags any future spills in the affected
routine.
PR target/119224
gcc/ChangeLog:
* config/riscv/autovec.md: Disable abd splitter.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/pr117722.c: Adjust output insn.
* gcc.target/riscv/rvv/autovec/pr119224.c: Add new test.
Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Diffstat (limited to 'gcc/testsuite/c-c++-common/pr103798-9.c')
0 files changed, 0 insertions, 0 deletions