Skip to content

Commit 4096a62

Browse files
committed
[ConstraintSystem] Don't update the work list when merging type variables
in addJoinConstraint.
1 parent 7de9573 commit 4096a62

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/Sema/ConstraintSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3147,7 +3147,7 @@ class ConstraintSystem {
31473147

31483148
if (originalRep) {
31493149
if (originalRep != currentRep)
3150-
mergeEquivalenceClasses(currentRep, originalRep);
3150+
mergeEquivalenceClasses(currentRep, originalRep, /*updateWorkList=*/false);
31513151
continue;
31523152
}
31533153

validation-test/SILOptimizer/large_string_array.swift.gyb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// REQUIRES: long_test
1313
// REQUIRES: CPU=arm64 || CPU=x86_64
1414

15-
// REQUIRES: rdar66807959
16-
1715
// Check if the optimizer can optimize the whole array into a statically
1816
// initialized global
1917

0 commit comments

Comments
 (0)