Re: [PATCH] RISC-V: Refactor Dynamic LMUL codes

2023-12-12 Thread Robin Dapp
Yes, no harm in doing that. LGTM. Regards Robin

[PATCH] RISC-V: Refactor Dynamic LMUL codes

2023-12-12 Thread Juzhe-Zhong
This patch refactor dynamic LMUL to remove this following variable: static hash_map loop_autovec_infos; which will keep growing on-the-fly. gcc/ChangeLog: * config/riscv/riscv-vector-costs.cc (get_current_lmul): Remove it. (compute_estimated_lmul): New function. (costs::c