Teach DAG combiner to commute commutable binary nodes in order to achieve sdisel...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 22 Mar 2008 01:55:50 +0000 (01:55 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 22 Mar 2008 01:55:50 +0000 (01:55 +0000)
commit08b1173971a51eb89d7d6ee0992c39170c86994a
tree9c1ac9bd65c09325c86bc0193366fe37caf0c62e
parent641dae19eb5edf62ce6cd928da8bfeee561d641f
Teach DAG combiner to commute commutable binary nodes in order to achieve sdisel CSE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48673 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/dagcombine-cse.ll [new file with mode: 0644]