Skip to content

Commit ad49d2e

Browse files
committed
[Test] We don't need an IR test here
1 parent 8ff6431 commit ad49d2e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/Macros/macro_expand.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
// Debug info SIL testing
1212
// RUN: %target-swift-frontend -emit-sil -enable-experimental-feature Macros -enable-experimental-feature Macros -load-plugin-library %t/%target-library-name(MacroDefinition) -I %swift-host-lib-dir %s -module-name MacroUser -o - -g | %FileCheck --check-prefix CHECK-SIL %s
1313

14-
// Debug info IR testing
15-
// RUN: %target-swift-frontend -emit-ir -enable-experimental-feature Macros -enable-experimental-feature Macros -load-plugin-library %t/%target-library-name(MacroDefinition) -I %swift-host-lib-dir %s -module-name MacroUser -o - -g | %FileCheck --check-prefix CHECK-IR %s
16-
1714
// Execution testing
1815
// RUN: %target-build-swift -g -enable-experimental-feature Macros -enable-experimental-feature Macros -load-plugin-library %t/%target-library-name(MacroDefinition) -I %swift-host-lib-dir -L %swift-host-lib-dir %s -o %t/main -module-name MacroUser
1916
// RUN: %target-run %t/main | %FileCheck %s
@@ -63,11 +60,6 @@ func testStringify(a: Int, b: Int) {
6360
_ = (b, b2, s2, s3)
6461
}
6562

66-
// CHECK-IR-LABEL: define swiftcc void @"$s9MacroUser5OuterV4testyyF"
67-
// CHECK-IR: call {{.*}}@"$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC"{{.*}}!dbg ![[STRING_LITERAL_DI:[0-9]+]]
68-
// CHECK-IR: ![[STRING_LITERAL_DI]] = !DILocation(line: 1, column: 13, scope: ![[EXPANSION_FILE_SCOPE_DI:[0-9]+]])
69-
// CHECK-IR: ![[EXPANSION_FILE_SCOPE_DI]] = !DILexicalBlockFile(scope: ![[EXPANSION_FILE_SCOPE_SCOPE_DI:[0-9]+]], file: ![[EXPANSION_FILE_DI:[0-9]+]], discriminator: 0)
70-
// CHECK-IR: ![[EXPANSION_FILE_DI]] = !DIFile(filename: "{{.*}}swift-generated-sources{{.*}}.swift", directory: "")
7163
public struct Outer {
7264
var value: Int = 0
7365
public func test() {

0 commit comments

Comments
 (0)