DAGCombiner: fix combine of trunc and select
authorAsaf Badouh <asaf.badouh@intel.com>
Tue, 15 Nov 2016 07:55:22 +0000 (07:55 +0000)
committerAsaf Badouh <asaf.badouh@intel.com>
Tue, 15 Nov 2016 07:55:22 +0000 (07:55 +0000)
commitb573553424cd1700cc1128eb8431de8cdfc3b04c
tree4874f84402010ec567823ce2b6ec64840df930e9
parent029d730bade89fa97b0c4f910975f91f16682283
DAGCombiner: fix combine of trunc and select

bugzilla:
https://llvm.org/bugs/show_bug.cgi?id=29002
pr29002

Differential Revision: https://reviews.llvm.org/D26449

llvm-svn: 286938
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/select.ll