llvm-project
a135e45d - [LLVM][CodeGen] Use VSELECT to implement "merging" INSERT_SUBVECTORs. (#172850)

Commit
36 days ago
[LLVM][CodeGen] Use VSELECT to implement "merging" INSERT_SUBVECTORs. (#172850) When widening the subvector of INSERT_SUBVECTOR(vec, subvec, 0) to the same type as its result, we're effectively turning the operation into a merge that can be implement with a VSELECT whose mask is based on the original subvector's element count.
Parents
Loading