]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Fix incorrect optimization options passing to cond and builtin
authorPan Li <pan2.li@intel.com>
Mon, 2 Dec 2024 13:57:53 +0000 (21:57 +0800)
committerPan Li <pan2.li@intel.com>
Tue, 3 Dec 2024 02:03:16 +0000 (10:03 +0800)
commitdfb9f6e0ed358706ade9a007f8723c4e9ef538fc
tree1cbc80bae0b278b0eb7f91da74caee3ea27e6828
parent6f72fd54c43f65190236b8a1a05af4fc3e000765
RISC-V: Fix incorrect optimization options passing to cond and builtin

Like the strided load/store, the testcases of vector cond and builtin are
designed to pick up different sorts of optimization options but actually
these option are ignored according to the Execution log of gcc.log.
This patch would like to make it correct almost the same as what we
fixed for strided load/store.

The below test suites are passed for this patch.
* The rv64gcv fully regression test.

It is test only patch and obvious up to a point, will commit it
directly if no comments in next 48H.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/rvv.exp: Fix the incorrect optimization
options passing to testcases.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/rvv.exp