Currently, on PowerPC target, it uses function scope UnsafeFPMath option to drive Machine Combiner pass.
This is not accurate in two ways:
1: the scope is not accurate. Machine Combiner pass only requires instruction-level flags instead of the function scope.
2: the float point flag is not accurate. Machine Combiner pass only requires float point flags reassoc and nsz.
X86 already fixed this issue in https://reviews.llvm.org/D74851
This patch fixes same issue for PowerPC.