[PATCH] D134788: [ARM64EC][clang-cl] Add arm64EC test; NFC
chenglin.bi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 4 01:13:24 PDT 2022
bcl5980 updated this revision to Diff 464909.
bcl5980 retitled this revision from "[ARM64EC][clang-cl] Add /arm64EC flag" to "[ARM64EC][clang-cl] Add arm64EC test; NFC".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134788/new/
https://reviews.llvm.org/D134788
Files:
clang/test/Driver/cl-options.c
Index: clang/test/Driver/cl-options.c
===================================================================
--- clang/test/Driver/cl-options.c
+++ clang/test/Driver/cl-options.c
@@ -782,8 +782,11 @@
// EXTERNAL_W0: "-Wno-system-headers"
// EXTERNAL_Wn: "-Wsystem-headers"
-// RUN: %clang_cl -vctoolsdir "" /arm64EC /c -### -- %s 2>&1 | FileCheck %s --check-prefix ARM64EC
-// ARM64EC: "-triple" "arm64ec-pc-windows-msvc19.20.0"
+// RUN: %clang_cl -vctoolsdir "" /arm64EC /c -### -- %s 2>&1 | FileCheck --check-prefix=ARM64EC %s
// ARM64EC-NOT: /arm64EC has been overridden by specified target
+// ARM64EC: "-triple" "arm64ec-pc-windows-msvc19.20.0"
+
+// RUN: %clang_cl -vctoolsdir "" /arm64EC /c -target x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck --check-prefix=ARM64EC_OVERRIDE %s
+// ARM64EC_OVERRIDE: warning: /arm64EC has been overridden by specified target: x86_64-pc-windows-msvc; option ignored
void f(void) { }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134788.464909.patch
Type: text/x-patch
Size: 936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221004/9776861c/attachment.bin>
More information about the cfe-commits
mailing list