Revert "Revert r212640, "Add trunc (select c, a, b) -> select c (trunc a), (trunc...
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 10 Jul 2014 18:21:04 +0000 (18:21 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 10 Jul 2014 18:21:04 +0000 (18:21 +0000)
commitb730c3d28dc940fba7720aeb5eb1ca52088a6177
treeda5cce09e6e75a944cdccea49bf98a699866214d
parent3996e5290a60e24e02381830b02f1105980428db
Revert "Revert r212640, "Add trunc (select c, a, b) -> select c (trunc a), (trunc b) combine.""

Don't try to convert the select condition type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212750 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/R600/select64.ll
test/CodeGen/X86/select.ll
test/CodeGen/X86/shift-parts.ll