mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The new SIMD proposal introduced a number of new operators, the presence of which causes more "expression too complex" failures. Route around the problem by de-prioritizing those operators, visiting them only if no other operator could be chosen. This should limit the type checker performance cost of said operators to only those expressions that need them OR that already failed to type-check. Fixes rdar://problem/46541800.