[llvm] [RISCV] Cost bf16/f16 vector non-unit memory accesses as legal without zvfhmin/zvfbfmin (PR #150882)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 10:06:55 PDT 2025


mshockwave wrote:

> @mshockwave After thinking about this for a bit, I don't think we should be returning legal at all for these accesses, even for fixed-length vectors seeing as SelectionDAG can't type-legalize them. So I've just reverted the patch in [2a5ac19](https://github.com/llvm/llvm-project/commit/2a5ac19605ae49d6628ac3af55d6b528cb13ed2e). I don't think we need to reapply it, since the actual test diff this was trying to fix was also separately fixed by [92d0924](https://github.com/llvm/llvm-project/commit/92d09245d61dce80d3e68a27cc34d5fc6f062c93)

Thank you, this decision makes sense to me.

https://github.com/llvm/llvm-project/pull/150882


More information about the llvm-commits mailing list