This is an archive of the discontinued LLVM Phabricator instance.

[X86] Lower v16i16->v8i16 truncate using an 'and' with 255, an extract_subvector, and a packuswb instruction.
ClosedPublic

Authored by craig.topper on Nov 17 2018, 4:01 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Nov 17 2018, 4:01 PM
RKSimon accepted this revision.Nov 18 2018, 4:57 AM

LGTM - cheers

This revision is now accepted and ready to land.Nov 18 2018, 4:57 AM
This revision was automatically updated to reflect the committed changes.