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)
commitffd0100618dfc6ce27e65763a076d40602ca0b11
tree964d898a38dfd664dd7cc2bc314e8d509e616599
parent3ef3e899a9f0a640f179a4d50f1e8ab31b419fbb
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.

llvm-svn: 222472
llvm/lib/Transforms/Utils/SimplifyCFG.cpp