diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-03 20:34:31 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-03 20:34:31 +0000 |
commit | 8d44b28bc6f615b9ad79b066987d53b1ea2a2942 (patch) | |
tree | 4bfaf2eca9b8910a15985d9d8c2ddf10625a5f99 /include/llvm/CodeGen/SelectionDAG.h | |
parent | 3653b13c52b9bce4fd9e2da3cbb893fc769adaec (diff) | |
download | llvm-8d44b28bc6f615b9ad79b066987d53b1ea2a2942.tar.gz llvm-8d44b28bc6f615b9ad79b066987d53b1ea2a2942.tar.bz2 llvm-8d44b28bc6f615b9ad79b066987d53b1ea2a2942.tar.xz |
Recognize more opportunities to use SSE min and max instructions,
swapping the operands if necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 7ce869050b..9ab04151cb 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -840,6 +840,9 @@ public: /// class to allow target nodes to be understood. unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const; + /// isKnownNeverNan - Test whether the given SDValue is known to never be NaN. + bool isKnownNeverNaN(SDValue Op) const; + /// isVerifiedDebugInfoDesc - Returns true if the specified SDValue has /// been verified as a debug information descriptor. bool isVerifiedDebugInfoDesc(SDValue Op) const; |