Skip to content

Commit fba4231

Browse files
committed
Change comment
1 parent a997903 commit fba4231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/Preprocessor/predefined-arch-macros.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2535,7 +2535,6 @@
25352535
// CHECK_ARL_M32: #define __AES__ 1
25362536
// CHECK_NVL_M32: #define __AVX10_1__ 1
25372537
// CHECK_NVL_M32: #define __AVX10_2__ 1
2538-
// AVX2 needs to be here, not after AES because otherwise NVL fails
25392538
// CHECK_ARL_M32: #define __AVX2__ 1
25402539
// CHECK_NVL_M32: #define __AVX512BF16__ 1
25412540
// CHECK_NVL_M32: #define __AVX512BITALG__ 1
@@ -2550,6 +2549,8 @@
25502549
// CHECK_NVL_M32: #define __AVX512VL__ 1
25512550
// CHECK_NVL_M32: #define __AVX512VNNI__ 1
25522551
// CHECK_NVL_M32: #define __AVX512VPOPCNTDQ__ 1
2552+
// We check for NOT AVX512 after all checks for AVX512, so
2553+
// if we missed some check on NVL, the test will fail.
25532554
// CHECK_ARL_M32-NOT: AVX512
25542555
// CHECK_ARL_M32: #define __AVXIFMA__ 1
25552556
// CHECK_ARL_M32: #define __AVXNECONVERT__ 1

0 commit comments

Comments
 (0)