[PATCH] D43146: [builtins] Fix c?zdi2 on sparc64/Linux and ignore riscv32
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 18:46:30 PST 2018
kito-cheng requested changes to this revision.
kito-cheng added inline comments.
This revision now requires changes to proceed.
================
Comment at: lib/builtins/clzdi2.c:22
+ || defined(__mips64) \
+ || (defined(__riscv__) && __SIZEOF_POINTER__ >= 8))
+/* On 64-bit architectures with neither a native clz instruction nor a native
----------------
RISC-V define `__riscv` instead of `__riscv__`.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D43146
More information about the llvm-commits
mailing list