diff options
author | Kevin P. Neal <kevin.neal@sas.com> | 2021-10-06 13:49:24 -0400 |
---|---|---|
committer | Kevin P. Neal <kevin.neal@sas.com> | 2021-10-06 13:52:31 -0400 |
commit | f86c930cc96756f4d565f1746dca8cc42037b5ce (patch) | |
tree | 470ef065ccb4ea03c9e43bb6f5733d90873c7ea9 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | a2796f1e86555fc0848b060a3bc0fe03e4ecf93b (diff) | |
download | llvm-f86c930cc96756f4d565f1746dca8cc42037b5ce.zip llvm-f86c930cc96756f4d565f1746dca8cc42037b5ce.tar.gz llvm-f86c930cc96756f4d565f1746dca8cc42037b5ce.tar.bz2 |
[FPEnv][InstSimplify] Fold constrained X + -0.0 ==> X
Currently the fadd optimizations in InstSimplify don't know how to do this
"X + -0.0 ==> X" fold when using the constrained intrinsics. This adds the
support.
This commit is derived from D106362 with some improvements from D107285.
Differential Revision: https://reviews.llvm.org/D111085
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions