Author: Timm Bäder Date: 2025-09-15T08:49:47+02:00 New Revision: 24b58678bcde7d33117941b443f9bcd0fe67767a
URL: https://github.com/llvm/llvm-project/commit/24b58678bcde7d33117941b443f9bcd0fe67767a DIFF: https://github.com/llvm/llvm-project/commit/24b58678bcde7d33117941b443f9bcd0fe67767a.diff LOG: [clang][bytecode] Disable int128 test if unsupported This broke the armv8-quick builder: https://lab.llvm.org/buildbot/#/builders/154/builds/21492 Added: Modified: clang/test/AST/ByteCode/builtin-bit-cast.cpp Removed: ################################################################################ diff --git a/clang/test/AST/ByteCode/builtin-bit-cast.cpp b/clang/test/AST/ByteCode/builtin-bit-cast.cpp index fede780fd66ec..32c1f41e0e059 100644 --- a/clang/test/AST/ByteCode/builtin-bit-cast.cpp +++ b/clang/test/AST/ByteCode/builtin-bit-cast.cpp @@ -530,6 +530,8 @@ constexpr const intptr_t &returns_local() { return 0L; } // both-note@+1 {{read of temporary whose lifetime has ended}} constexpr nullptr_t test_nullptr_bad = __builtin_bit_cast(nullptr_t, returns_local()); + +#ifdef __SIZEOF_INT128__ namespace VectorCast { typedef unsigned X __attribute__ ((vector_size (64))); typedef unsigned __int128 Y __attribute__ ((vector_size (64))); @@ -568,5 +570,5 @@ namespace VectorCast { static_assert(s.a == 0); // ref-error {{not an integral constant expression}} \ // ref-note {{initializer of 's' is not a constant expression}} #endif - } +#endif _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
