[PATCH] D54355: Use is.constant intrinsic for __builtin_constant_p
Bill Wendling via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 9 14:08:54 PST 2018
void created this revision.
void added a reviewer: rsmith.
Herald added subscribers: cfe-commits, kristina.
Herald added a reviewer: shafik.
A __builtin_constant_p may end up with a constant after inlining. Use
the is.constant intrinsic if it's a variable that's in a context where
it may resolve to a constant, e.g., an argument to a function after
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14831 bytes
Desc: not available
More information about the cfe-commits