[InstCombine] reduce duplicate code; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 1 Feb 2019 14:37:49 +0000 (14:37 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 1 Feb 2019 14:37:49 +0000 (14:37 +0000)
commitfbcbac717436e1614ada754d57c76d789de2abfc
tree7921781c18b27a69d8589b7c9510e398f3878054
parent4fb0a2c95993df34df8e44c0ad2188ecea8d9c81
[InstCombine] reduce duplicate code; NFC

An unused variable problem was introduced with rL352870
and stubbed out with rL352871, but we can make a better
fix by actually using the local variable in code rather
than just the assert.

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