Re: [PATCH v2] RISC-V: Fix vsetvl compatibility predicate [PR118154].

2025-01-14 Thread 钟居哲
LGTM juzhe.zh...@rivai.ai From: Robin Dapp Date: 2025-01-14 16:19 To: gcc-patches CC: pal...@dabbelt.com; kito.ch...@gmail.com; juzhe.zh...@rivai.ai; jeffreya...@gmail.com; pan2...@intel.com; rdapp@gmail.com Subject: [PATCH v2] RISC-V: Fix vsetvl compatibility predicate [PR118154]. Hi

[PATCH v2] RISC-V: Fix vsetvl compatibility predicate [PR118154].

2025-01-14 Thread Robin Dapp
Hi, in PR118154 we emit strided stores but the first of those does not always have the proper VTYPE. That's because we erroneously delete a necessary vsetvl. In order to determine whether to elide (1) Expr[7]: VALID (insn 116, bb 17) Demand fields: demand_ratio_and_ge_sew demand_a