Use APInt::isAllOnesValue instead of popcnt. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 23 Oct 2016 15:09:44 +0000 (15:09 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 23 Oct 2016 15:09:44 +0000 (15:09 +0000)
commit96ef0c1103607e973532e166dae8311f5abb139e
tree3c3de1f68ea669a0ab549f87cc604eab80fcdb80
parent0c5da265723b263ebc83e065ecd821acb73e8a4d
Use APInt::isAllOnesValue instead of popcnt. NFCI.

More obvious implementation and faster too.

llvm-svn: 284937
llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp