HomePhabricator

[X86][AVX512] Add masked MOVS[S|D] patterns

Authored by guyblank on Jul 31 2017, 1:26 AM.

Description

[X86][AVX512] Add masked MOVS[S|D] patterns

Added patterns to recognize AND 1 on the mask of a scalar masked
move is not needed since only the lower bit is relevant for the
instruction.

Differential Revision:
https://reviews.llvm.org/D35897

llvm-svn: 309546

Details