diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-21 17:55:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-21 17:55:02 +0000 |
commit | 509e84fa7146175c86dec5ef2167290f294dc89e (patch) | |
tree | 5afc7f75200b8b45f5e7ee1b7847371c1492223b /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | f93cf79505f07cb97597fbc5955462ad7670ca5c (diff) |
Add libm-oriented ISD opcodes for rounding operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 74d6a2a870..2167656171 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4771,6 +4771,11 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::FCOS: return "fcos"; case ISD::FPOWI: return "fpowi"; case ISD::FPOW: return "fpow"; + case ISD::FTRUNC: return "ftrunc"; + case ISD::FFLOOR: return "ffloor"; + case ISD::FCEIL: return "fceil"; + case ISD::FRINT: return "frint"; + case ISD::FNEARBYINT: return "fnearbyint"; // Binary operators case ISD::ADD: return "add"; |