]> git.ipfire.org Git - thirdparty/gcc.git/commit
internal-fn: Do not force vcond_mask operands to reg.
authorRobin Dapp <rdapp@ventanamicro.com>
Fri, 10 May 2024 10:44:44 +0000 (12:44 +0200)
committerRobin Dapp <rdapp@ventanamicro.com>
Fri, 17 May 2024 20:31:42 +0000 (22:31 +0200)
commit7ca35f2e430081d6ec91e910002f92d9713350fa
treea7af47b0abbfb8e31bb02b95ce75baabc6cf76e1
parent9b6acf5357818ce7ff234c504ed79078a06d0e0f
internal-fn: Do not force vcond_mask operands to reg.

In order to directly use constants this patch removes force_regs
in the vcond_mask expander.

gcc/ChangeLog:

PR middle-end/113474

* internal-fn.cc (expand_vec_cond_mask_optab_fn):  Remove
force_regs.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/pr113474.c: New test.
gcc/internal-fn.cc
gcc/testsuite/gcc.target/riscv/rvv/autovec/pr113474.c [new file with mode: 0644]