Make custom lowering of ADD work correctly. This
authorDuncan Sands <baldrick@free.fr>
Sun, 22 Jun 2008 09:42:16 +0000 (09:42 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 22 Jun 2008 09:42:16 +0000 (09:42 +0000)
commit69bfb15ecd71881ec8d01be94af99b6d90d2fe01
treed83694d55f4220dc8133f1681a2d517106fc6876
parent5c1f17221344fe24f8ba78fdbac7db4f79ded257
Make custom lowering of ADD work correctly.  This
fixes PR2476; patch by Richard Osborne.  The same
problem exists for a bunch of other operators, but
I'm ignoring this because they will be automagically
fixed when the new LegalizeTypes infrastructure lands,
since it already solves this problem centrally.

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