Skip to content

Commit bc7ff09

Browse files
test: disable access merging optimization test with invariant asserts
Invariant checks add extra access markers and they made the optimized code different than the expected one and made the test failed. CI presets usually set `--no-swift-stdlib-assertion`, so no effect on CI except for `buildbot_incremental_linux_crosscompile_wasm`.
1 parent 74e22dc commit bc7ff09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/SILOptimizer/merge_exclusivity.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-swift-frontend -O -enforce-exclusivity=checked -Xllvm -sil-disable-pass=redundant-load-elimination -emit-sil -primary-file %s | %FileCheck %s --check-prefix=TESTSIL
22
// REQUIRES: optimized_stdlib,asserts
3+
// REQUIRES: swift_stdlib_no_asserts
34
// REQUIRES: PTRSIZE=64
45

56
public var check: UInt64 = 0

0 commit comments

Comments
 (0)