diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-03-18 08:09:28 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-03-18 08:11:22 -0400 |
commit | c8893f3b784c4b8877275801029b4ebb54408f66 (patch) | |
tree | 9addc3cb971b14326f9b9098fec40a92a27a59bc /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | c1fb23c1aadd22e736c4a1c36c146bbfbc48f959 (diff) | |
download | llvm-c8893f3b784c4b8877275801029b4ebb54408f66.zip llvm-c8893f3b784c4b8877275801029b4ebb54408f66.tar.gz llvm-c8893f3b784c4b8877275801029b4ebb54408f66.tar.bz2 |
[LoopVectorize] relax FMF constraint for FP induction
This makes the induction part of the loop vectorizer match the reduction part.
We do not need all of the fast-math-flags. For example, there are some that
clearly are not in play like arcp or afn.
If we want to make FMF constraints consistent across the IR optimizer, we
might want to add nsz too, but that's up for debate (users can't expect
associative FP math and preservation of sign-of-zero at the same time?).
The calling code was fixed to avoid miscompiles with:
1bee549737ac
Differential Revision: https://reviews.llvm.org/D98708
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions