This is an archive of the discontinued LLVM Phabricator instance.

[X86][SSE] SimplifyDemandedBitsForTargetNode - PCMPGT(0,X) sign mask
ClosedPublic

Authored by RKSimon on Feb 3 2019, 2:49 PM.

Details

Summary

For PCMPGT(0, X) patterns where we only demand the sign bit (e.g. BLENDV or MOVMSK) then we can use X directly.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Feb 3 2019, 2:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2019, 2:49 PM
spatel accepted this revision.Feb 4 2019, 7:00 AM

LGTM

This revision is now accepted and ready to land.Feb 4 2019, 7:00 AM
This revision was automatically updated to reflect the committed changes.