[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 08:25:36 PDT 2024


Pol Marcet =?utf-8?q?Sardà?= <polmarcetsarda at gmail.com>,
Pol Marcet =?utf-8?q?Sardà?= <polmarcetsarda at gmail.com>,
Pol Marcet =?utf-8?q?Sardà?= <polmarcetsarda at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/76615 at github.com>


================
@@ -0,0 +1,99 @@
+// RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only %s
+// expected-no-diagnostics
+
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
----------------
erichkeane wrote:

No, i don't think that is worth doing.  I'm still disturbed by how difficult it is to figure out exactly what/how we are testing things, but perhaps just some detailed comments on the macros are sufficient.

https://github.com/llvm/llvm-project/pull/76615


More information about the cfe-commits mailing list