OSDN Git Service

Revert r291645 "[DAGCombiner] Teach DAG combiner to fold (vselect (N0 xor AllOnes...
authorCraig Topper <craig.topper@gmail.com>
Wed, 11 Jan 2017 04:59:25 +0000 (04:59 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 11 Jan 2017 04:59:25 +0000 (04:59 +0000)
commitbd496c74a2b9448967ad06c7f1b5a12c67b23698
tree1d34432f035b2d56223e86e5998a8dd575cfc872
parent3d79242c98df51035bd9ee7be6eeb13d82e9daa5
Revert r291645 "[DAGCombiner] Teach DAG combiner to fold (vselect (N0 xor AllOnes), N1, N2) -> (vselect N0, N2, N1). Only do this if the target indicates its vector boolean type is ZeroOrNegativeOneBooleanContent."

Some test appears to be hanging on the build bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291650 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/vec_minmax_sint.ll
test/CodeGen/X86/vec_minmax_uint.ll
test/CodeGen/X86/vselect-minmax.ll