]> granicus.if.org Git - clang/commitdiff
[ARM] Fix - missing target-cpu in test
authorJaved Absar <javed.absar@arm.com>
Wed, 12 Oct 2016 12:13:55 +0000 (12:13 +0000)
committerJaved Absar <javed.absar@arm.com>
Wed, 12 Oct 2016 12:13:55 +0000 (12:13 +0000)
Fixes an incomplete test, wherein the target-cpu name (cortex-r52) was missing.

Differential Revision: http://reviews.llvm.org/D25474

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284009 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/arm-cortex-cpus.c

index 3f6ccf4fe56e4f4d3b399f570c6e8125975526d9..e978c9f99af0999a2a6fa725e4306d5c823a4641 100644 (file)
 // RUN:     FileCheck -check-prefix=CHECK-V8R-THUMB-BIG %s
 // RUN: %clang -target arm -march=armv8r -mthumb -mbig-endian -### -c %s 2>&1 | \
 // RUN:     FileCheck -check-prefix=CHECK-V8R-THUMB-BIG %s
-// CHECK-V8R-THUMB-BIG: "-cc1"{{.*}} "-triple" "thumbebv8r-{{.*}} "-target-cpu
+// CHECK-V8R-THUMB-BIG: "-cc1"{{.*}} "-triple" "thumbebv8r-{{.*}} "-target-cpu" "cortex-r52"
 
 // RUN: %clang -mcpu=generic -target armv8 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V8A-GENERIC %s
 // RUN: %clang -mcpu=generic -target arm -march=armv8 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V8A-GENERIC %s