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

[X86] Add X86ISD::VMFPROUND to handle the masked case of VCVTPD2PSZ128 which...

[X86] Add X86ISD::VMFPROUND to handle the masked case of VCVTPD2PSZ128 which only produces 2 result elements and zeroes the upper elements.

We can't represent this properly with vselect like we normally do. We also have to update the instruction definition to use a VK2WM mask instead of VK4WM to represent this.

Fixes another case from PR34877.

llvm-svn: 351017
parent b17d2136
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