File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -512,6 +512,14 @@ struct ImmutableAddressUseVerifier {
512
512
//
513
513
// TODO: Can we do better?
514
514
break ;
515
+ case SILInstructionKind::BranchInst:
516
+ case SILInstructionKind::CondBranchInst:
517
+ // We do not analyze through branches and cond_br instructions and just
518
+ // assume correctness. This is so that we can avoid having to analyze
519
+ // through phi loops and since we want to remove address phis (meaning
520
+ // that this eventually would never be able to happen). Once that
521
+ // changes happens, we should remove this code and just error below.
522
+ break ;
515
523
case SILInstructionKind::ApplyInst:
516
524
case SILInstructionKind::TryApplyInst:
517
525
case SILInstructionKind::PartialApplyInst:
Original file line number Diff line number Diff line change 1
1
// RUN: %target-run-simple-swift | %FileCheck %s
2
2
// REQUIRES: executable_test
3
3
4
- // Temporary workaround; ImmutableAddressUseVerifier asserts nondeterministically. rdar://problem/50676315
5
- // REQUIRES: rdar50676315
6
-
7
4
// Text Formatting Prototype
8
5
//
9
6
// This file demonstrates the concepts proposed in TextFormatting.rst
You can’t perform that action at this time.
0 commit comments