[PATCH] D144454: Add builtin for llvm set rounding
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 3 09:20:12 PST 2023
rjmccall added a comment.
Okay, so if we're adding this builtin, and it's not just imitating a stdlib function, we should definitely document it as a language extension. There's a section in the manual about controlling FP modes which is probably an appropriate place for this.
I assume we need to document that the builtin has undefined behavior if it receives a value outside of the standard-defined set. (We can't guarantee that it's a no-op or else we'll never be able to extend the standard-defined set.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144454/new/
https://reviews.llvm.org/D144454
More information about the cfe-commits
mailing list