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

[X86] Add DAG combine to replace vXi64 vzext_movl+scalar_to_vector with vYi32...

[X86] Add DAG combine to replace vXi64 vzext_movl+scalar_to_vector with vYi32 vzext_movl+scalar_to_vector if the upper 32 bits of the scalar are zero.

We can just use a 32-bit copy and zero in the SSE domain when we
zero the upper bits.

Remove an isel pattern that becomes dead with this.
parent d41ea65e
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