[InstCombine] improve readability; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 6 Dec 2019 15:59:25 +0000 (10:59 -0500)
committerSanjay Patel <spatel@rotateright.com>
Fri, 6 Dec 2019 18:26:45 +0000 (13:26 -0500)
commit7250ef3613cc6b81145b9543bafb86d7f9466cde
treece2710d63937362550754cbf465f5a4ca75a176d
parentdb5739658467e20a52f20e769d3580412e13ff87
[InstCombine] improve readability; NFC

CreateIntCast returns the input if its type matches, so need to duplicate that check.
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp