[InstCombine] rename variables in foldICmpDivConstant(); NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 26 Aug 2016 15:53:01 +0000 (15:53 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 26 Aug 2016 15:53:01 +0000 (15:53 +0000)
commitf7ba0891ce6369cee4245991824a73279ca31258
treef8f4036e4c705eb76126bf5edc66402980791977
parentb30f4370a5e5de616aeb6eb6c231d53f3a75b874
[InstCombine] rename variables in foldICmpDivConstant(); NFC

Removing the redundant 'CmpRHSV' local variable exposes a bug in the caller
foldICmpShrConstant() - it was sending in the div constant instead of the
cmp constant. But I have not been able to expose this in a regression test
yet - the affected folds all appear to be handled before we ever reach this
code. I'll keep trying to find a case as I make changes to allow vector folds
in both functions.

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