Now that we're using widening legalization. We need to improve our extract_subvector cost model for these types. This patch begins by modeling these as a subvector extract followed by a permute. I've left FIXMEs in the code for future improvements.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Directly compute the permute cost so that we don't have high cost for i8/i16 element extracts.
Comment Actions
LGTM - I've been trying to think of a general helper function we could create for this as I can only imagine that we're going to need this more....