[PATCH] D51646: DAG: Preserve FMF when creating fminnum/fmaxnum
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 4 11:07:49 PDT 2018
arsenm created this revision.
arsenm added a reviewer: spatel.
Herald added a subscriber: wdng.
These should preserve the fast math flags on the initial fcmp.
Without this, the nodes may later be expanded to use an
unnecessary quieting operation.
https://reviews.llvm.org/D51646
Files:
include/llvm/Analysis/ValueTracking.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/IR/Operator.h
lib/Analysis/ValueTracking.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
unittests/Analysis/ValueTrackingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51646.163872.patch
Type: text/x-patch
Size: 23831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180904/0b360ba3/attachment.bin>
More information about the llvm-commits
mailing list