File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-sil-opt -enable-sil-verify-all %s -onone-simplification -simplify-instruction=builtin | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-EARLY
2
2
// RUN: %target-sil-opt -enable-sil-verify-all %s -late-onone-simplification -simplify-instruction=builtin | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-LATE
3
- // RUN: %target-sil-opt -enable-sil-verify-all %s -assert-conf-id=1 -onone-simplification -simplify-instruction=builtin | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOASSERTS
4
- // RUN: %target-sil-opt -enable-sil-verify-all %s -assert-conf-id=2 -onone-simplification -simplify-instruction=builtin | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOASSERTS
3
+ // RUN: %target-sil-opt -enable-sil-verify-all %s -assert-conf-id=1 -onone-simplification -simplify-instruction=builtin | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOASSERTS1
4
+ // RUN: %target-sil-opt -enable-sil-verify-all %s -assert-conf-id=2 -onone-simplification -simplify-instruction=builtin | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOASSERTS2
5
5
6
6
// REQUIRES: swift_in_compiler
7
7
417
417
418
418
// CHECK-LABEL: sil @remove_assert_configuration
419
419
// CHECK-NOT: builtin "assert_configuration"
420
- // CHECK-EARLY: [[L:%.*]] = integer_literal $Builtin.Int8, 1
421
- // CHECK-NOASSERTS: [[L:%.*]] = integer_literal $Builtin.Int8, 0
420
+ // CHECK-EARLY: [[L:%.*]] = integer_literal $Builtin.Int8, 0
421
+ // CHECK-NOASSERTS1: [[L:%.*]] = integer_literal $Builtin.Int8, 1
422
+ // CHECK-NOASSERTS2: [[L:%.*]] = integer_literal $Builtin.Int8, 2
422
423
// CHECK: [[R:%.*]] = struct $Int8 ([[L]] : $Builtin.Int8)
423
424
// CHECK: return [[R]]
424
425
// CHECK: } // end sil function 'remove_assert_configuration'
You can’t perform that action at this time.
0 commit comments