Drop Compromised scan-asm Test After Vectorized Loop Epilogue Changes
Removes a scan-asm test for RISC-V due to recent changes in vectorized loop epilogues that caused the test to fail.
A scan-asm test for RISC-V was failing because recent changes to elide vectorized loop epilogues altered the expected instruction sequence. To continue verifying the absence of ICEs (Internal Compiler Errors), the scan-asm parts of the test were dropped, while retaining the core ICE check.
In Details
The commit addresses a failing scan-asm test in gcc.target/riscv/rvv/base/pr115456-3.c caused by changes to vectorized loop epilogues. The test relied on a specific instruction sequence that is no longer present due to epilogue elision. The primary goal of the test was to detect ICEs, so the scan-asm portion was removed to maintain ICE verification while avoiding false positives.
For Context
Compiler test suites often include specific assembly code snippets (scan-asm) to confirm that the compiler generates the expected instructions. These tests can break when the compiler's code generation changes, even if the overall functionality remains correct. This commit removes a broken assembly-specific test, but keeps the parts of the test that check for internal compiler errors, ensuring the compiler still doesn't crash.