On 11/9/26 1:41 AM, Bohan Lei wrote:
This patch fixes a memory leak in vector_permconst pass. The memory
leak was found during an LLM review of the codebase.
Regtested on rv64gcv and rv32gcv.
Assisted-by: Codex
gcc/ChangeLog:
* config/riscv/riscv-vect-permconst.cc (struct const_vector_hasher):
Derive from free_ptr_hash.
(vector_permconst::process_bb): Change vector_permconst_table to
automatic variable.
LGTM and non concerns from Sashiko. Please push to the trunk. jeff
