[llvm] [RISCV] Legalize shuffle index after splitting two argument shuffles (PR #79330)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 13:26:41 PST 2024


topperc wrote:

> The description here is misleading. I believe returning SDValue() here causes the shuffle to get expanded through memory. It will go through the Expand path in LegalizeDAG.

It doesn't go through memory. I guess I was thinking of build_vector. I'm not sure what shuffle expansion does. I guess it uses extracts and_vector?

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


More information about the llvm-commits mailing list