SelectionDAG: Cleanup integer bin op promotion functions.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 19 Dec 2015 17:18:43 +0000 (17:18 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 19 Dec 2015 17:18:43 +0000 (17:18 +0000)
commitbfe2e58c93b89c4a71ba4c0396f5578f1a2f359e
treeb56a786c9c84e0340610166a41a21baa571172fe
parent9832f083b49eeee1cd079767c794f8b2e1c154d9
SelectionDAG: Cleanup integer bin op promotion functions.

SDIV and UDIV had special handling, but this is the same handling
that min/max need.

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