diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-04-24 11:59:15 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-04-24 12:14:03 -0400 |
commit | e4175ff5256126aa1b851cbe9579f1b62121aa48 (patch) | |
tree | f05d7d5772e2319ff4c47b271e02ecea7350a6e6 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1fcd234ac54a0bb9dcb14338db5a336d80321662 (diff) | |
download | llvm-e4175ff5256126aa1b851cbe9579f1b62121aa48.zip llvm-e4175ff5256126aa1b851cbe9579f1b62121aa48.tar.gz llvm-e4175ff5256126aa1b851cbe9579f1b62121aa48.tar.bz2 |
[InstCombine] intersect FMF when reassociating FP min/max intrinsics
As discussed in PR45478:
https://bugs.llvm.org/show_bug.cgi?id=45478
...propagating FMF from the outer (second) call is not correct,
so intersect them instead.
I suspect we could do better (see TODO comment), but mismatched
FMF is probably too rare to care about.
Differential Revision: https://reviews.llvm.org/D78631
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions