[InstCombine] add helper function for shift-shift optimization (NFCI)
authorSanjay Patel <spatel@rotateright.com>
Mon, 11 Apr 2016 15:43:41 +0000 (15:43 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 11 Apr 2016 15:43:41 +0000 (15:43 +0000)
commit6eaff5cec66e6e8164b53823b3b113f96269a6fc
tree68162b72d9b0be145b13ad0a1c35cd81b6e99461
parentf9d88e650b89aebb0af85cd00639b55e740f2569
[InstCombine] add helper function for shift-shift optimization (NFCI)

This is step 2 of refactoring to solve PR26760:
https://llvm.org/bugs/show_bug.cgi?id=26760

llvm-svn: 265951
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp