[PATCH] D78827: Add support for #pragma clang fp reassociate(on|off) -- floating point control of associative math transformations
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 6 13:00:43 PDT 2020
rjmccall added a comment.
That's actually really interesting. Is there a paper describing the desired model in more detail?
I think the natural interpretation of this pragma is to say that the specific operations written within the pragma are considered to be associative and are therefore allowed to be re-associated with other associative operators. However, that might not be the committee's formal interpretation, given how contraction works.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78827/new/
https://reviews.llvm.org/D78827
More information about the cfe-commits
mailing list