Skip to content

Commit 9993d11

Browse files
committed
Use the %target-swift-frontend instead of hardcoding the triple
1 parent 08b2eed commit 9993d11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/IRGen/abi_v7k.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// RUN: %swift -target armv7k-apple-watchos2 -emit-ir -primary-file %s -module-name test_v7k | FileCheck %s
2-
// RUN: %swift -target armv7k-apple-watchos2 -S -primary-file %s -module-name test_v7k | FileCheck -check-prefix=V7K %s
1+
// RUN: %target-swift-frontend -emit-ir -primary-file %s -module-name test_v7k | FileCheck %s
2+
// RUN: %target-swift-frontend -S -primary-file %s -module-name test_v7k | FileCheck -check-prefix=V7K %s
33

4+
// REQUIRES: CPU=armv7k
45
// REQUIRES: OS=watchos
56

67
// CHECK-LABEL: define hidden float @_TF8test_v7k9addFloats{{.*}}(float, float)

0 commit comments

Comments
 (0)