summaryrefslogtreecommitdiff
path: root/test/Driver/x86-march.c
diff options
context:
space:
mode:
authorPengfei Wang <pengfei.wang@intel.com>2019-08-12 01:29:46 +0000
committerPengfei Wang <pengfei.wang@intel.com>2019-08-12 01:29:46 +0000
commit107f2083e62fb82427e14c8f535a4b74be1a05c1 (patch)
tree1e8ea44effe6d951fd4c4ed9a9e23c031ed4521a /test/Driver/x86-march.c
parentd671e605e4d22270300406268d483eb95558f543 (diff)
downloadclang-107f2083e62fb82427e14c8f535a4b74be1a05c1.tar.gz
[X86] Support -march=tigerlake
Support -march=tigerlake for x86. Compare with Icelake Client, It include 4 more new features ,they are avx512vp2intersect, movdiri, movdir64b, shstk. Patch by Xiang Zhang (xiangzhangllvm) Differential Revision: https://reviews.llvm.org/D65840 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/x86-march.c')
-rw-r--r--test/Driver/x86-march.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/x86-march.c b/test/Driver/x86-march.c
index ba900bb492..87fdf624a9 100644
--- a/test/Driver/x86-march.c
+++ b/test/Driver/x86-march.c
@@ -76,6 +76,10 @@
// RUN: | FileCheck %s -check-prefix=icelake-server
// icelake-server: "-target-cpu" "icelake-server"
//
+// RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=tigerlake 2>&1 \
+// RUN: | FileCheck %s -check-prefix=tigerlake
+// tigerlake: "-target-cpu" "tigerlake"
+//
// RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=lakemont 2>&1 \
// RUN: | FileCheck %s -check-prefix=lakemont
// lakemont: "-target-cpu" "lakemont"