[InstSimplify] simplify FP ops harder with FMF
authorSanjay Patel <spatel@rotateright.com>
Thu, 12 Mar 2020 13:10:26 +0000 (09:10 -0400)
committerSanjay Patel <spatel@rotateright.com>
Thu, 12 Mar 2020 13:13:28 +0000 (09:13 -0400)
commit8ec71585719d63223e1f796056b9ddee05b8263d
tree10bb009a3e7ffcd128f02ddf5c2e6727420b74d6
parent1e686d268980c7167f12c71e8b1bb66bdc3fd51c
[InstSimplify] simplify FP ops harder with FMF

This is part of the IR sibling for:
D75576

(I'm splitting part of the transform as a separate commit
to reduce risk. I don't know of any bugs that might be
exposed by this improved folding, but it's hard to see
those in advance...)
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/fp-nan.ll
llvm/test/Transforms/InstSimplify/fp-undef.ll