Add checks to make sure we don't create bogus extend nodes, and fix a bug
authorNate Begeman <natebegeman@mac.com>
Sat, 18 Feb 2006 02:40:58 +0000 (02:40 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 18 Feb 2006 02:40:58 +0000 (02:40 +0000)
commitb0d04a7deaf1ffc78f2eb85295af987a54223c00
treec7e09d3617108d217d8f54720c41399a24370b38
parent2b1527157116ba6045667eb29568f2f460d7b670
Add checks to make sure we don't create bogus extend nodes, and fix a bug
where we were doing exactly that which was causing failures on x86 and
alpha.

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