Commits
Doug Gregor committed 4db2974fb78
Refactor the favored-constraints optimization for binary expressions. Pull the favored-constraints optimization for binary expressions out into its own function. Use early exits to de-nest the code a few levels, eliminate some dead code paths that couldn't actually occur, replace a dyn_cast/.getPointer() dance with getAs<>, and and avoid excess SmallVector traffic by only copying the "old" constraints in cases where we might be added new ones (e.g., due to the synthesized ==). NFC Swift SVN r22170