Displaying 1 result from an estimated 1 matches for "insert_vec_element".
2017 Jan 24
7
[X86][AVX512] RFC: make i1 illegal in the Codegen
...1 true, i1 true, i1 true, i1 true>, <8 x i32> undef)
ret 8 x i32>%r
}
Can be lowered to
# BB#0:
kxnorw %k0, %k0, %k1
vpgatherqd (,%zmm1), %ymm0 {%k1}
retq
Legal vectors of i1's require support for BUILD_VECTOR(i1, i1, .., i1), i1 EXTRACT_VEC_ELEMENT (...) and INSERT_VEC_ELEMENT(i1, ...) , so making i1 legal seemed like a sensible decision, and this is the current state in the top of trunk.
However, making i1 legal affected instruction selection of scalar code as well. Currently, there are cases where operations producing or consuming i1's are selected (sub-optimall...