]> granicus.if.org Git - llvm/commit
[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)
commit6d5347c31262a7ebf9da226e5dc46e28335a86b8
tree828265ee969b40e6795d53d7fd208869ab289224
parent669dd90c3b5c260e9a61c7f0e4224324ddbd7942
[X86][SSE] Fix out of range shift introduced in D67070/rL371328

Use APInt to create the comparison mask instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-reduce-and-bool.ll