Fix wrong setcc result type when legalizing uaddo/usubo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 28 May 2014 20:51:42 +0000 (20:51 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 28 May 2014 20:51:42 +0000 (20:51 +0000)
commit3ee37463749e1d447b078d25205758fe28d6c20c
tree32a4863b736651d493892ea4ae4ea659e3aa9839
parent92f11f44c85f2d8a6b3f1599ceb1106ad87e4b98
Fix wrong setcc result type when legalizing uaddo/usubo

No test because no in-tree targets change the bitwidth of the
setcc type depending on the bitwidth of the compared type.

Patch by Ke Bai

llvm-svn: 209771
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp