Re: [PATCH v2] RISC-V: Bugfix for the const vector in single steps

2023-12-19 Thread juzhe.zh...@rivai.ai
ass rvv_builder juzhe.zh...@rivai.ai From: pan2.li Date: 2023-12-20 14:56 To: gcc-patches CC: juzhe.zhong; pan2.li; yanzhang.wang; kito.cheng; jeffreyalaw Subject: [PATCH v2] RISC-V: Bugfix for the const vector in single steps From: Pan Li This patch would like to fix the below execution fail

[PATCH v2] RISC-V: Bugfix for the const vector in single steps

2023-12-19 Thread pan2 . li
From: Pan Li This patch would like to fix the below execution failure. FAIL: gcc.dg/vect/pr92420.c -flto -ffat-lto-objects execution test The will be one single step const vector like { -4, 4, -3, 5, -2, 6, -1, 7, ...}. For such const vector generation with single step, we will generate vid +