SimplifyCFG: Refactor GatherConstantCompares() result in a struct
authorMehdi Amini <mehdi.amini@apple.com>
Thu, 20 Nov 2014 22:40:25 +0000 (22:40 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Thu, 20 Nov 2014 22:40:25 +0000 (22:40 +0000)
commit517842e6fd90ef8776ed511360d3930dd61e28c6
tree6c07a7cff5b8b371bef2c8023e4bf64f8b2f73dd
parent30b8590bf535e533efcc1eb01cd0fecf25bc65c8
SimplifyCFG: Refactor GatherConstantCompares() result in a struct

Code seems cleaner and easier to understand this way

This is basically r222416, after fixes for MSVC lack of standard
support, and a few cleaning (got rid of a warning).
Thanks Nakamura Takumi and Nico Weber for the MSVC fixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222472 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp