[clang] [X86] Emit Warnings for frontend options to enable knl/knm specific ISAs. (PR #75580)
Freddy Ye via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 01:13:24 PST 2024
================
@@ -69,7 +69,10 @@
// RUN: %clang_cl -m32 -arch:avx2 --target=i386-pc-windows -### -- 2>&1 %s | FileCheck -check-prefix=avx2 %s
// avx2: invalid /arch: argument
-// RUN: %clang_cl -m32 -arch:AVX512F --target=i386-pc-windows /c /Fo%t.obj -Xclang -verify -DTEST_32_ARCH_AVX512F -- %s
+// RUN: %clang_cl -m32 -arch:AVX512F --target=i386-pc-windows /c /Fo%t.obj -Xclang -verify=KNL1 -DTEST_32_ARCH_AVX512F -- %s
----------------
FreddyLeaf wrote:
AVX512F will be handled as "knl" in driver
https://github.com/llvm/llvm-project/pull/75580
More information about the cfe-commits
mailing list