Skip to content

Commit 094395b

Browse files
author
Greg Parker
authored
[test] Remove -whole-module-optimization from test IRGen/asmname.swift (#12714)
That flag is not a frontend flag and has no effect on this test.
1 parent 77282a3 commit 094395b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/IRGen/asmname.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil %s -emit-ir -whole-module-optimization | %FileCheck %s
1+
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil %s -emit-ir | %FileCheck %s
22

33
// REQUIRES: CPU=i386 || CPU=x86_64
44

@@ -11,7 +11,7 @@ _ = atan2test(0.0, 0.0)
1111

1212

1313
// Ordinary Swift definitions
14-
// WMO is expected to eliminate the unused internal and private functions.
14+
// The unused internal and private functions are expected to be eliminated.
1515

1616
public func PlainPublic() { }
1717
internal func PlainInternal() { }
@@ -22,7 +22,7 @@ private func PlainPrivate() { }
2222

2323

2424
// Swift _silgen_name definitions
25-
// WMO is expected to eliminate the private function
25+
// The private function is expected to be eliminated
2626
// but the internal function must survive for C use.
2727
// Only the C-named definition is emitted.
2828

@@ -36,7 +36,7 @@ private func PlainPrivate() { }
3636

3737

3838
// Swift cdecl definitions
39-
// WMO is expected to eliminate the private functions
39+
// The private functions are expected to be eliminated
4040
// but the internal functions must survive for C use.
4141
// Both a C-named definition and a Swift-named definition are emitted.
4242

0 commit comments

Comments
 (0)