Skip to content
Commit 06ba969c authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Make (insert_vector_elt (v8i16 zerovec), i16 %x, 0) generate the same...

[X86] Make (insert_vector_elt (v8i16 zerovec), i16 %x, 0) generate the same code as (v8i16 (build_vector %x, 0, 0, 0, 0, 0, 0, 0)).

Instead of using a insrw to element 0, use movzx and movd.

Same for v16i8.
parent ab3da5dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment