OSDN Git Service

AVX-512: Fix for PR28175 - Scalar code optimization.
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Tue, 13 Sep 2016 07:57:00 +0000 (07:57 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Tue, 13 Sep 2016 07:57:00 +0000 (07:57 +0000)
commit9cb541b51a1b06a20db4da32fe4d361d3c098676
tree1e2bd1d3c96b3484354d7498a06d4e098d1b5e6e
parent8da7897bb9e586936dbd60b7260cc8a0a3e97ca3
AVX-512: Fix for PR28175 - Scalar code optimization.

Optimized (truncate (assertzext x) to i1) and anyext i1 to i8/16/32.
Optimization of this patterns is a one more step towards i1 optimization on AVX-512.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrFragmentsSIMD.td
test/CodeGen/X86/avx512-i1test.ll
test/CodeGen/X86/fast-isel-select-cmov.ll
test/CodeGen/X86/pr28173.ll
test/CodeGen/X86/xaluo.ll