[InstCombine] add helper function to reduce code duplication; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 26 Nov 2018 22:00:41 +0000 (22:00 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 26 Nov 2018 22:00:41 +0000 (22:00 +0000)
commit790af9180354a4d4ce3c088b4f4c2a8e626e527c
treecb5842fda2f5a5a999182cdfc1ef20174310f53c
parentfa98c074b7d9837c8fc4c360811b5eb186b592c0
[InstCombine] add helper function to reduce code duplication; NFC

llvm-svn: 347604
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp