Skip to content

Commit 8a68a35

Browse files
committed
Mark a test as needing asserts enabled.
The problem is that this pass is setup such that when asserts are enabled we are able to turn off/on internal parts of the transformation. When asserts are disabled, we don’t support this and just run with everything. This causes the output to differ. rdar://72627921
1 parent 924916f commit 8a68a35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/SILOptimizer/semantic-arc-opt-unchecked-ownership-conversion.sil

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// REQUIRES: rdar72627921
21
// RUN: %target-sil-opt -module-name Swift -enable-sil-verify-all -semantic-arc-opts -sil-semantic-arc-peepholes-ownership-conversion-elim -sil-semantic-arc-peepholes-lifetime-joining %s | %FileCheck %s
32

3+
// REQUIRES: asserts
4+
45
sil_stage canonical
56

67
import Builtin

0 commit comments

Comments
 (0)