aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/Syntax/BuildTree.cpp
diff options
context:
space:
mode:
authorDrew Wock <drew.wock@sas.com>2020-08-26 15:17:17 -0400
committerKevin P. Neal <kevin.neal@sas.com>2020-08-27 08:17:01 -0400
commit0ec098e22ba9c882ea2a9885d5d5f5dc4e4073ed (patch)
tree7637e6cd54fda1fb18f03e283b943388e42b565d /clang/lib/Tooling/Syntax/BuildTree.cpp
parentdf8f3bf6266569545b0b80eccbd990fecb94b3ee (diff)
downloadllvm-0ec098e22ba9c882ea2a9885d5d5f5dc4e4073ed.zip
llvm-0ec098e22ba9c882ea2a9885d5d5f5dc4e4073ed.tar.gz
llvm-0ec098e22ba9c882ea2a9885d5d5f5dc4e4073ed.tar.bz2
[FPEnv] Allow fneg + strict_fadd -> strict_fsub in DAGCombiner
This is the first of a set of DAGCombiner changes enabling strictfp optimizations. I want to test to waters with this to make sure changes like these are acceptable for the strictfp case- this particular change should preserve exception ordering and result precision perfectly, and many other possible changes appear to be able to as well. Copied from regular fadd combines but modified to preserve ordering via the chain, this change allows strict_fadd x, (fneg y) to become struct_fsub x, y and strict_fadd (fneg x), y to become strict_fsub y, x. Differential Revision: https://reviews.llvm.org/D85548
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions