Skip to content

Commit e54a125

Browse files
committed
Fixup the aarch64-cpus.c test for swift-5.0 branch
On master, +aes is passed by the driver after r343758, but on the release branch that's not the case. This commit adjusts the test to check for "+crypto" feature instead. rdar://46817924
1 parent 9ee7a18 commit e54a125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Driver/aarch64-cpus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// RUN: %clang -target arm64-apple-darwin -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-DARWIN %s
2525
// RUN: %clang -target arm64-apple-ios12.0 -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-DARWIN %s
2626
// ARM64-DARWIN: "-cc1"{{.*}} "-triple" "arm64{{.*}}" "-target-cpu" "cyclone"
27-
// ARM64-DARWIN-SAME: "-target-feature" "+aes"
27+
// ARM64-DARWIN-SAME: "-target-feature" "+crypto"
2828

2929
// RUN: %clang -target aarch64 -mcpu=cortex-a35 -### -c %s 2>&1 | FileCheck -check-prefix=CA35 %s
3030
// RUN: %clang -target aarch64 -mlittle-endian -mcpu=cortex-a35 -### -c %s 2>&1 | FileCheck -check-prefix=CA35 %s

0 commit comments

Comments
 (0)