Skip to content
Snippets Groups Projects
Commit cdc65458 authored by demin.han's avatar demin.han Committed by Kito Cheng
Browse files

RISC-V: Fix uninitialized and redundant use of which_alternative


When pass split2 starts, which_alternative is random depending on
last set of certain pass.

Even initialized, the generated movement is redundant.
The movement can be generated by assembly output template.

Signed-off-by: default avatardemin.han <demin.han@starfivetech.com>

gcc/ChangeLog:

	* config/riscv/autovec.md: Delete which_alternative use in split

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/rvv/autovec/madd-split2-1.c: New test.
Signed-off-by: default avatardemin.han <demin.han@starfivetech.com>
parent 41482832
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment