OSDN Git Service

[DAGCombiner] Remove code for optimizing select (xor Cond, 0), X, Y -> select Cond...
authorCraig Topper <craig.topper@gmail.com>
Tue, 10 Jan 2017 04:12:19 +0000 (04:12 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 10 Jan 2017 04:12:19 +0000 (04:12 +0000)
commit1cc207258ca6e7a637754e8167f4b9b39940ce15
treef8ae0fba164b01f05d1f63a0e72f7a3e0eb2d35a
parent5165d0d2b3a8b505df853f3e196fdc4aa2bfa3bf
[DAGCombiner] Remove code for optimizing select (xor Cond, 0), X, Y -> select Cond, X, Y. Just let combine on the xor itself take care of it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291534 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp