[InstCombine] clean up foldICmpDivConstant; NFCI
authorSanjay Patel <spatel@rotateright.com>
Tue, 30 Aug 2016 17:10:49 +0000 (17:10 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 30 Aug 2016 17:10:49 +0000 (17:10 +0000)
commita7cb477277faae8632eaac9858d950d8d9899c4a
treec9ebf45c645f0247b8b992e1ed047772487813fc
parentfddfdca03077b543efc7c6320dd722d7845781b3
[InstCombine] clean up foldICmpDivConstant; NFCI

1. Fix comments to match variable names
2. Remove redundant CmpRHS variable
3. Add FIXME to replace some checks with asserts

llvm-svn: 280112
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp