[InstCombine] reduce code duplication; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 9 Aug 2018 15:07:13 +0000 (15:07 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 9 Aug 2018 15:07:13 +0000 (15:07 +0000)
commitebec4204da174dfd631e19ab19d8e071f4731818
treefdff5a80178b0a3fb099e5f4ef06e95fbd690da9
parentdffc1911e2197f18a44995f46b7e45eeb37a0c63
[InstCombine] reduce code duplication; NFC

llvm-svn: 339349
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp