DAGCombiner: Optimize SELECTs first before turning them into SELECT_CC
authorMatthias Braun <matze@braunis.de>
Tue, 18 Aug 2015 20:48:29 +0000 (20:48 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 18 Aug 2015 20:48:29 +0000 (20:48 +0000)
commit1c81ad149de69dd1c53146a3587b536f279d2a58
tree5f33a4d347d675a6ca74e9ac59bc0b3084654990
parent928530a540900ca8850394301311f56acd335f6d
DAGCombiner: Optimize SELECTs first before turning them into SELECT_CC

This is part of http://reviews.llvm.org/D11616 - I just decided to split
this up into a separate commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/dag-combine-select.ll [new file with mode: 0644]