diff options
author | Chen Zheng <czhengsz@cn.ibm.com> | 2020-04-28 03:31:12 -0400 |
---|---|---|
committer | Chen Zheng <czhengsz@cn.ibm.com> | 2020-04-28 03:31:12 -0400 |
commit | 45d92806eaf8bd1d0edb94e983ac540f1633a2a6 (patch) | |
tree | 5fe3d59ea2bdbd7fe7f0dc214d53a89b373e1011 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | b73290be9fa413d8bc426512cdf4fa01bc005954 (diff) | |
download | llvm-45d92806eaf8bd1d0edb94e983ac540f1633a2a6.zip llvm-45d92806eaf8bd1d0edb94e983ac540f1633a2a6.tar.gz llvm-45d92806eaf8bd1d0edb94e983ac540f1633a2a6.tar.bz2 |
[PowerPC] use inst-level fast-math-flags to drive MachineCombiner
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.
Reviewed By: steven.zhang
Differential Revision: https://reviews.llvm.org/D78183
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions