[PATCH] D43146: [builtin] Update c?zdi2 to cover Linux/sparc

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 14:47:43 PST 2018


jrtc27 added a comment.

Actually this might be ok on sparc32? I assume `__builtin_ctz` will instead resolve to `_ctzsi2` being a 32-bit architecture? In which case, shouldn't the `__riscv__` one be checking  `__SIZEOF_POINTER__ == 8`?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43146





More information about the llvm-commits mailing list