Skip to content

Commit 4c8ac8a

Browse files
committed
remove Float3Vec test as clang writes to padding on assignment even on zero initialised memory, makes comparison in test hard
1 parent 3207acf commit 4c8ac8a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
// UNSUPPORTED: c++03
99
// UNSUPPORTED: gcc
10-
// UNSUPPORTED: clang-19, clang-20, clang-21, clang-22
10+
// UNSUPPORTED: clang-19, clang-20, clang-21
1111

1212
// ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated-volatile -Wno-dynamic-class-memaccess
1313

@@ -254,7 +254,6 @@ struct Foo {
254254
};
255255

256256
typedef float Float4Vec __attribute__((ext_vector_type(4)));
257-
typedef float Float3Vec __attribute__((ext_vector_type(3)));
258257

259258
void primitiveTests() {
260259
// no padding
@@ -664,8 +663,6 @@ void structTests() {
664663
testAllStructsForType<64, 32, _BitInt(64)>(4, 5, 6, 7);
665664
testAllStructsForType<32, 16, Foo>(Foo{1, 2}, Foo{3, 4}, Foo{1, 2}, Foo{3, 4});
666665
testAllStructsForType<64, 32, Foo>(Foo{1, 2}, Foo{3, 4}, Foo{1, 2}, Foo{3, 4});
667-
testAllStructsForType<256, 128, Float3Vec>(0, 1, 2, 3);
668-
testAllStructsForType<128, 128, Float3Vec>(4, 5, 6, 7);
669666
testAllStructsForType<256, 128, Float4Vec>(0, 1, 2, 3);
670667
testAllStructsForType<128, 128, Float4Vec>(4, 5, 6, 7);
671668

0 commit comments

Comments
 (0)