Commit 943fda56 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] matchTruncateWithPACK - canonically prefer v4i64 -> v4i32 shuffle vs truncation

Pulled out of LowerTruncateVecPackWithSignBits - prefer shuffles unless we can cheaply split the vector. ComputeNumSignBits struggles with vXi64 through bitcasts, so we're usually better off with shuffles.
parent 7899d2aa
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment