OSDN Git Service

[DAGCombine] Do not try to deduplicate commutative operations if both operand are...
authorAmaury Sechet <deadalnix@gmail.com>
Mon, 14 Aug 2017 11:44:03 +0000 (11:44 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Mon, 14 Aug 2017 11:44:03 +0000 (11:44 +0000)
commit05713200d0e09005d3ec6fa0bccbae669edc15d4
tree441e231f7b9f7307af239a468ef223314d8e375a
parentdbcaf5914243123ccf4f9dddd061466f4982ccf6
[DAGCombine] Do not try to deduplicate commutative operations if both operand are the same.

Summary: It is creating useless work as the commuted nodes is the same as the node we are working on in that case.

Reviewers: jyknight, nemanjai, mkuper, spatel, RKSimon, zvi, bkramer

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310832 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp