[PATCH] D52854: Use is.constant intrinsic for __builtin_constant_p
Bill Wendling via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 3 17:19:19 PDT 2018
void added a comment.
This is related to https://reviews.llvm.org/D4276, which I believe has been deleted. However, I believe that a modified version of that patch will work.
The idea of this patch is *not* to be fully compatible with gcc's implementation, but to expand clang's implementation of `__builtin_constant_p` without breaking existing code.
This has been tested by successfully building (and running) the Linux kernel for both ARM and X86.
Repository:
rC Clang
https://reviews.llvm.org/D52854
More information about the cfe-commits
mailing list