Fixed DAGCombine optimizations which generate select_cc for targets
authorNadav Rotem <nadav.rotem@intel.com>
Mon, 23 Jul 2012 07:59:50 +0000 (07:59 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Mon, 23 Jul 2012 07:59:50 +0000 (07:59 +0000)
commited1a335ece5c83230af662580e69008ed6fcca17
treeea3bc648261cb21bd6e09b38a4164dbd24385896
parentf093393b9a65eae6b04c487784cb8256b15b790e
Fixed DAGCombine optimizations which generate select_cc for targets
that do not support it (X86 does not lower select_cc).

PR: 13428

Together with Michael Kuperstein <michael.m.kuperstein@intel.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160619 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2012-07-23-select_cc.ll [new file with mode: 0644]