This is an archive of the discontinued LLVM Phabricator instance.

[X86][SSE] Swap X86ISD::BLENDV inputs with an inverted selection mask (PR42825)
ClosedPublic

Authored by RKSimon on Jul 31 2019, 9:46 AM.

Details

Summary

As discussed on PR42825, if we are inverting the selection mask we can just swap the inputs and avoid the inversion.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jul 31 2019, 9:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2019, 9:46 AM

Looks good to me.

any more comments?

spatel accepted this revision.Aug 9 2019, 5:23 AM

LGTM

This revision is now accepted and ready to land.Aug 9 2019, 5:23 AM
This revision was automatically updated to reflect the committed changes.