We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504f08f commit 0cef3d4Copy full SHA for 0cef3d4
compiler-rt/lib/builtins/clzdi2.c
@@ -17,9 +17,9 @@
17
#if ((defined(__sparc__) && defined(__arch64__)) || defined(__mips64) || \
18
(defined(__riscv) && __SIZEOF_POINTER__ >= 8))
19
// On 64-bit architectures with neither a native clz instruction nor a native
20
-// ctz instruction, resolves __builtin_clz resolves to __clzdi2 rather than
21
-// __clzsi2, leading to infinite recursion.
22
-// This is because on those platforms, libgcc doesn't ship with __clzsi2.
+// ctz instruction, `__builtin_clz` resolves to `__clzdi2` rather than
+// __clzsi2 as libgcc does not ship with `__clzsi2`, leading to infinite
+// recursion.
23
#define __builtin_clz(a) __clzsi2(a)
24
extern int __clzsi2(si_int);
25
#endif
0 commit comments