Skip to content

Commit 77b651f

Browse files
committed
[Test][SILOptimizer] Fix di-conditional-destroy-scope test
- Add -module-name fs flag - Remove objc_interop
1 parent ccea096 commit 77b651f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/SILOptimizer/di-conditional-destroy-scope.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// RUN: %target-swift-frontend -Xllvm -sil-print-types -emit-sil %s -Onone -Xllvm \
22
// RUN: -sil-print-after=raw-sil-inst-lowering -Xllvm \
33
// RUN: -sil-print-functions=$s2fs36RecursibleDirectoryContentsGeneratorC4path10fileSystemAcA12AbsolutePathV_AA04FileH0_ptKc33_F8B132991B28208F48606E87DC165393Llfc \
4-
// RUN: -Xllvm -sil-print-types -Xllvm -sil-print-debuginfo -o /dev/null 2>&1 | %FileCheck %s
5-
6-
// REQUIRES: objc_interop
7-
4+
// RUN: -Xllvm -sil-print-types -Xllvm -sil-print-debuginfo -o /dev/null -module-name fs 2>&1 | %FileCheck %s
85

96
// CHECK: [[ADR:%.*]] = ref_element_addr %{{.*}} : $RecursibleDirectoryContentsGenerator, #RecursibleDirectoryContentsGenerator.fileSystem, loc {{.*}}:39:5, scope [[SCOPE:[0-9]+]]
107
// CHECK: [[ADR_ACCESS:%.*]] = begin_access [deinit] [static] [[ADR]]

0 commit comments

Comments
 (0)