This is an archive of the discontinued LLVM Phabricator instance.

[X86] Implement broadcastf32x2 and broadcasti32x2 intrinsics using __builtin_shufflevector instead builtins
ClosedPublic

Authored by craig.topper on Aug 30 2017, 12:10 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

aymanmus edited edge metadata.Aug 30 2017, 12:38 AM

Did you make sure the resulted IR was lowered to the expected X86 instructions?

Yes I did. With the other bug fixed they all produced the correct instruction.

aymanmus accepted this revision.Aug 30 2017, 1:16 AM

LGTM
Thanks for the 2 patches.

This revision is now accepted and ready to land.Aug 30 2017, 1:16 AM
This revision was automatically updated to reflect the committed changes.