aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-12-15 06:24:32 +0800
committerPan Li <pan2.li@intel.com>2023-12-15 08:30:31 +0800
commit4bfafea6922dffea145d1aa1d5f5fa4814e66173 (patch)
tree37a99cd265fc523a8e3ff433f03ae94fc38dea0b /libgomp
parentc7ef2189855a8cf12427a778cd5a31d42ddf6260 (diff)
downloadgcc-4bfafea6922dffea145d1aa1d5f5fa4814e66173.zip
gcc-4bfafea6922dffea145d1aa1d5f5fa4814e66173.tar.gz
gcc-4bfafea6922dffea145d1aa1d5f5fa4814e66173.tar.bz2
RISC-V: Tweak generic vector COST model
Notice current generic vector cost model make PR112387 failed to vectorize. Adapt it same as ARM SVE generic vector cost model which can fix it. Committed as it is obvious fix. PR target/112387 gcc/ChangeLog: * config/riscv/riscv.cc: Adapt generic cost model same ARM SVE. gcc/testsuite/ChangeLog: * gcc.dg/vect/costmodel/riscv/rvv/pr112387.c: Moved to... * gcc.dg/vect/costmodel/riscv/rvv/pr112387-1.c: ...here. * gcc.dg/vect/costmodel/riscv/rvv/pr112387-2.c: New test.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions