[InstCombine] add helper function for add X, C folds; NFCI
authorSanjay Patel <spatel@rotateright.com>
Wed, 10 May 2017 00:07:16 +0000 (00:07 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 10 May 2017 00:07:16 +0000 (00:07 +0000)
commit4133d4a56e63c1f55cd5e87a034dfba19de0f6b4
tree40a0934255992ee6fc8a43b1ba21386043209e81
parentd1eff0e81342c3d5bea214ef0c0c7e22f09c5081
[InstCombine] add helper function for add X, C folds; NFCI

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