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)
commite8d18694cbee58ffd7137014e89200fc424e3b78
treee460923f847e13fb0fc29047d57b811fde4f615c
parentca9f4b06350615e96b42c64007dbd29c15894083
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

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