[X86][SSE] Fix out of range shift introduced in D67070/rL371328
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 8 Sep 2019 12:44:22 +0000 (12:44 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 8 Sep 2019 12:44:22 +0000 (12:44 +0000)
commit178cd2cd3a69046c88ade1b31796f3f90b7e86a0
treef25ccf75fb95b3389347e0d05136d911190e5c46
parent9d570020708d633e9979030a5787034887426a7c
[X86][SSE] Fix out of range shift introduced in D67070/rL371328

Use APInt to create the comparison mask instead.

llvm-svn: 371330
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-reduce-and-bool.ll