We do this mostly to be able to test the insert_vector_elt isel patterns. As long as we don't, most single element insertions show up as BUILD_VECTOR in the backend.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/VE/Vector/expand_single_elem_build_vec.ll | ||
---|---|---|
3 | It's a chicken-egg problem.. i doubt anybody will build LLVM with VE on a MacOS system.. will fix this regardless, rebase the insert/extract element patch and update this test in a followup patch |
Comment Actions
This now depends on D93687 - the build_vector lowering causes introduces more instances of insert_vector_elt.
|& works only with bash. For example, this test won't work on MacOS. Please use 2>&1 | style.
On the other hand, D93687 has been merged. So I guess this it is posisble to implement this test much simply using LSV instructions.