r228697 - [ARM] Add tests for armv6s[-]m being an alias to armv6[-]m
Bradley Smith
bradley.smith at arm.com
Tue Feb 10 07:16:49 PST 2015
Author: brasmi01
Date: Tue Feb 10 09:16:49 2015
New Revision: 228697
URL: http://llvm.org/viewvc/llvm-project?rev=228697&view=rev
Log:
[ARM] Add tests for armv6s[-]m being an alias to armv6[-]m
Modified:
cfe/trunk/test/Driver/arm-cortex-cpus.c
Modified: cfe/trunk/test/Driver/arm-cortex-cpus.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/arm-cortex-cpus.c?rev=228697&r1=228696&r2=228697&view=diff
==============================================================================
--- cfe/trunk/test/Driver/arm-cortex-cpus.c (original)
+++ cfe/trunk/test/Driver/arm-cortex-cpus.c Tue Feb 10 09:16:49 2015
@@ -69,6 +69,8 @@
// RUN: %clang -target armv6m -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V6M %s
// RUN: %clang -target arm -march=armv6m -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V6M %s
+// RUN: %clang -target armv6sm -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V6M %s
+// RUN: %clang -target arm -march=armv6sm -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V6M %s
// CHECK-V6M: "-cc1"{{.*}} "-triple" "thumbv6m-{{.*}} "-target-cpu" "cortex-m0"
// RUN: %clang -target armv6m -mbig-endian -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V6M-BIG %s
More information about the cfe-commits
mailing list