Committed, thanks Juzhe and garthlei.
Pan
From: 钟居哲
Sent: Wednesday, September 11, 2024 7:36 PM
To: gcc-patches
Cc: Li, Pan2 ; Robin Dapp ; jeffreyalaw
; kito.cheng
Subject: [PATCH 1/2] RISC-V: Fix vl_used_by_non_rvv_insn logic of vsetvl pass
Hi, garthlei.
Thanks for fixing it.
I see, you
:29
To: juzhe.zh...@rivai.ai
Subject: FW: [PATCH 1/2] RISC-V: Fix vl_used_by_non_rvv_insn logic of vsetvl
pass
FYI.
-Original Message-
From: garthlei
Sent: Wednesday, September 11, 2024 5:10 PM
To: gcc-patches
Subject: [PATCH 1/2] RISC-V: Fix vl_used_by_non_rvv_insn logic of vsetvl pass
This p
This patch fixes a bug in the current vsetvl pass. The current pass uses
`m_vl` to determine whether the dest operand has been used by non-RVV
instructions. However, `m_vl` may have been modified as a result of an
`update_avl` call, and thus would be no longer the dest operand of the
original ins