[X86][AVX] combineHorizontalPredicateResult - support v16i16/v32i8 reduction on AVX1
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Apr 2019 17:17:13 +0000 (17:17 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Apr 2019 17:17:13 +0000 (17:17 +0000)
commit9e28dddf555c686f23a0de5336e2602b58aab7d5
tree1ef50f6633ded9fe3307a93a1e3b6284d15d2c0b
parent0c27bc2e1fe3bda1be12063bdc65ca5a9ca398c6
[X86][AVX] combineHorizontalPredicateResult - support v16i16/v32i8 reduction on AVX1

Use getPMOVMSKB helper which splits v32i8 MOVMSK calls on pre-AVX2 targets.

llvm-svn: 357608
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-compare-all_of.ll
llvm/test/CodeGen/X86/vector-compare-any_of.ll