diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2024-12-11 20:48:30 +0100 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2024-12-16 15:25:27 +0100 |
commit | ec870d3b5f378172006104bad674d7875463da18 (patch) | |
tree | 25159ea6eb8f627eea1666cdad7c2477c4bbe092 /gcc/tree-inline.h | |
parent | ce199a952bfef3e27354a4586a17bc55274c1d3c (diff) | |
download | gcc-ec870d3b5f378172006104bad674d7875463da18.zip gcc-ec870d3b5f378172006104bad674d7875463da18.tar.gz gcc-ec870d3b5f378172006104bad674d7875463da18.tar.bz2 |
RISC-V: Fix compress shuffle pattern [PR117383].
This patch makes vcompress use the tail-undisturbed policy by default
and also uses the proper VL.
PR target/117383
gcc/ChangeLog:
* config/riscv/riscv-protos.h (enum insn_type): Use TU policy.
* config/riscv/riscv-v.cc (shuffle_compress_patterns): Set VL.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/binop/vcompress-avlprop-1.c:
Expect tu.
* gcc.target/riscv/rvv/autovec/pr117383.c: New test.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions