[DAGCombine] SimplifyNodeWithTwoResults - ensure same legalization for LO/HI operands...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 19 Nov 2018 19:37:59 +0000 (19:37 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 19 Nov 2018 19:37:59 +0000 (19:37 +0000)
commit740122fb8cb6a38ad072d3da26f6641434f30761
tree3891693fef02d71e6719eddf9c66e3d95fbc46a0
parentc6846a812b27b0ba343c63839eeb3655c1d679cc
[DAGCombine] SimplifyNodeWithTwoResults - ensure same legalization for LO/HI operands (PR21207)

Consistently use (!LegalOperations || isOperationLegalOrCustom) for all node pairs.

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

llvm-svn: 347255
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp