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 | c6337ac0697390c29b7032392850d117dff43b3e (patch) | |
tree | 751b062448eac6eb623dcbcead701d64b279e36c /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 6a7461ad9b465e5d87a7cf0984624dfffb926ae1 (diff) | |
download | bcm5719-llvm-c6337ac0697390c29b7032392850d117dff43b3e.tar.gz bcm5719-llvm-c6337ac0697390c29b7032392850d117dff43b3e.zip |
Add libm-oriented ISD opcodes for rounding operations.
llvm-svn: 55130
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 74d6a2a8705..2167656171c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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"; |