[llvm] [Offload] define MSVC byte-order macros for rtl endianness checks (PR #202540)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 01:48:21 PDT 2026


================
@@ -33,6 +33,13 @@
 #include "llvm/Support/FileSystem.h"
 #include "llvm/Support/raw_ostream.h"
 
+// TODO: Replace with a shared runtime endianness abstraction.
+#if defined(_MSC_VER) || defined(_WIN32)
----------------
adurang wrote:

isn't just the _WIN32 define enough?

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


More information about the llvm-commits mailing list