]> granicus.if.org Git - clang/commitdiff
[X86] Add goldmont to test/Driver/x86-march.c
authorCraig Topper <craig.topper@intel.com>
Fri, 19 Jan 2018 19:43:36 +0000 (19:43 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 19 Jan 2018 19:43:36 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322982 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/x86-march.c

index f08c9dfadc0992eb5891d3e006c073c7acf226b4..9c9235dc0fdc6b30390b8ddfd0988f1e6fedfbcc 100644 (file)
 // RUN:   | FileCheck %s -check-prefix=silvermont
 // silvermont: "-target-cpu" "silvermont"
 //
+// RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=goldmont 2>&1 \
+// RUN:   | FileCheck %s -check-prefix=goldmont
+// goldmont: "-target-cpu" "goldmont"
+//
 // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=k8 2>&1 \
 // RUN:   | FileCheck %s -check-prefix=k8
 // k8: "-target-cpu" "k8"