[clang] b6c4590 - [clang] Disable avx512vlcd test on Arm 32-bit
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 19 11:08:24 PST 2025
Author: David Spickett
Date: 2025-12-19T19:07:37Z
New Revision: b6c4590f1cea5fc9f08c820ac0bebfe17f5d773e
URL: https://github.com/llvm/llvm-project/commit/b6c4590f1cea5fc9f08c820ac0bebfe17f5d773e
DIFF: https://github.com/llvm/llvm-project/commit/b6c4590f1cea5fc9f08c820ac0bebfe17f5d773e.diff
LOG: [clang] Disable avx512vlcd test on Arm 32-bit
When clang is compiled with a more recent clang
(that includes 5d7f324614d7a5c0de89cfe8295a9b2b7ef5d073),
the code produced enforces 64-bit alignment on a type
that is used during this test.
For reasons not known yet, that type is not 64-bit aligned
though you would normally expect it to be.
See https://github.com/llvm/llvm-project/issues/172994.
I would xfail this but I'm not 100% sure that it always fails.
Memory layout may make it pass sometimes.
Added:
Modified:
clang/test/CodeGen/X86/avx512vlcd-builtins.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/X86/avx512vlcd-builtins.c b/clang/test/CodeGen/X86/avx512vlcd-builtins.c
index 29fc6fd2e7fc8..43d71bfd85b4d 100644
--- a/clang/test/CodeGen/X86/avx512vlcd-builtins.c
+++ b/clang/test/CodeGen/X86/avx512vlcd-builtins.c
@@ -7,6 +7,8 @@
// RUN: %clang_cc1 -x c++ -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx512vl -target-feature +avx512cd -emit-llvm -o - -Wall -Werror -fexperimental-new-constant-interpreter | FileCheck %s
// RUN: %clang_cc1 -x c++ -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +avx512vl -target-feature +avx512cd -emit-llvm -o - -Wall -Werror -fexperimental-new-constant-interpreter | FileCheck %s
+// Crashes with SIGBUS: https://github.com/llvm/llvm-project/issues/172994
+// UNSUPPORTED: target=arm{{.*}}
#include <immintrin.h>
#include "builtin_test_helpers.h"
More information about the cfe-commits
mailing list