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

[X86] Add custom type legalization for v2i32/v4i16/v8i8->mmx bitcasts to avoid...

[X86] Add custom type legalization for v2i32/v4i16/v8i8->mmx bitcasts to avoid a store/load to/from the stack.

Widen the input to a 128 bit vector by padding with undef elements. Then use a movdq2q to convert from xmm register to mmx register.

llvm-svn: 348086
parent ec096a1d
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