[X86] Support folding in a k-register OR when creating KORTEST from scalar compare of a bitcast from vXi1.

This should allow us to remove the kortest intrinsic from IR and use compare+bitcast+or in IR instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324580 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed