@@ -506,11 +506,11 @@ bb7(%r : $Builtin.Int32, %carg2 : $Builtin.Int32):
506
506
507
507
// CHECK-LABEL: sil [ossa] @jumpthread_switch_enum5
508
508
// CHECK: bb0:
509
- // CHECK: br bb1
510
- // CHECK: bb1({{.*}}) :
511
- // CHECK-NEXT: cond_br undef, bb2, bb3
509
+ // CHECK: br bb2
510
+ // CHECK: bb1:
511
+ // CHECK-NEXT: br bb2
512
512
// CHECK: bb2:
513
- // CHECK: br bb1
513
+ // CHECK: cond_br undef, bb1, bb3
514
514
// CHECK: bb3:
515
515
// CHECK-NEXT: tuple
516
516
// CHECK-NEXT: return
@@ -650,17 +650,17 @@ sil [ossa] @f_use : $@convention(thin) (Builtin.Int32) -> ()
650
650
// CHECK: switch_enum {{.*}} case #Optional.some!enumelt: bb2
651
651
652
652
// CHECK: bb2{{.*}}
653
- // CHECK: br bb4({{.*}} : $Builtin.Int32, %2 : $Builtin.Int32, [[EXT]]
653
+ // CHECK: br bb4(%2 : $Builtin.Int32, [[EXT]]
654
654
655
- // CHECK: bb4({{.*}} : $Builtin.Int32, [[CUR:%.*]] : $Builtin.Int32, [[NEXT:%.*]] : $Builtin.Int32
655
+ // CHECK: bb4([[CUR:%.*]] : $Builtin.Int32, [[NEXT:%.*]] : $Builtin.Int32
656
656
// CHECK: [[F:%.*]] = function_ref @f
657
657
// CHECK: apply [[F]]([[CUR]])
658
658
// CHECK: cond_br {{.*}}, bb5, bb7
659
659
660
660
// CHECK: bb5:
661
661
// CHECK: [[VARADD:%.*]] = builtin "sadd_with_overflow_Int32"([[NEXT]] : $Builtin.Int32
662
662
// CHECK: [[NEXT2:%.*]] = tuple_extract [[VARADD]]
663
- // CHECK: br bb4({{.*}} : $Builtin.Int32, [[NEXT]] : $Builtin.Int32, [[NEXT2]]
663
+ // CHECK: br bb4([[NEXT]] : $Builtin.Int32, [[NEXT2]]
664
664
sil [ossa] @switch_enum_jumpthreading_bug : $@convention(thin) (Optional<Builtin.Int32>, Builtin.Int1, Builtin.Int32, Builtin.Int1) -> Builtin.Int32 {
665
665
bb0(%0 : $Optional<Builtin.Int32>, %1 : $Builtin.Int1, %2: $Builtin.Int32, %3 : $Builtin.Int1):
666
666
cond_br %1, bb2, bb10a
0 commit comments