Commits

Roman Levenstein committed 51ad2d964dc
Move the logic for type casts optimizations into one place. This is mostly a re-factoring. It creates a new helper class CastOptimizer which contains all the logic for performing type casts optimizations. This logic is a copy of the current logic from sil-combine and simplify-cfg. Those passes will become clients of this new helper class. Swift SVN r26122