[compiler-rt] [llvm] [TargetLowering] Set the default `getCmpLibcallReturnType` to word size (PR #192441)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 25 14:57:47 PDT 2026


================
@@ -18,6 +18,13 @@
 
 #include "int_endianness.h"
 
+#if __SIZEOF_POINTER__ == 8 && __SIZEOF_LONG__ == 4
----------------
arichardson wrote:

I would prefer if we didn't add this specific typedef, it's only used once and the word terminology can be somewhat confusing depending on the platform (e.g. DWORD).

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


More information about the llvm-commits mailing list