diff options
| author | Dan Gohman <gohman@apple.com> | 2010-06-01 18:35:14 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-06-01 18:35:14 +0000 |
| commit | b782caa3934d4f9c3250b1e619aad3325a7bc3ed (patch) | |
| tree | 9c663e52833d5d81dbfed957b1e7793aae8104ae /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
| parent | b24d5c6ce2b58318f21cc018fff398e18ff00565 (diff) | |
| download | bcm5719-llvm-b782caa3934d4f9c3250b1e619aad3325a7bc3ed.tar.gz bcm5719-llvm-b782caa3934d4f9c3250b1e619aad3325a7bc3ed.zip | |
Fill in missing support for ISD::FEXP, ISD::FPOWI, and friends.
llvm-svn: 105283
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index c1b5ec25387..eac3865371d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5674,13 +5674,16 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::FSQRT: return "fsqrt"; case ISD::FSIN: return "fsin"; 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"; + case ISD::FEXP: return "fexp"; + case ISD::FEXP2: return "fexp2"; + case ISD::FLOG: return "flog"; + case ISD::FLOG2: return "flog2"; + case ISD::FLOG10: return "flog10"; // Binary operators case ISD::ADD: return "add"; @@ -5711,7 +5714,9 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::FREM: return "frem"; case ISD::FCOPYSIGN: return "fcopysign"; case ISD::FGETSIGN: return "fgetsign"; + case ISD::FPOW: return "fpow"; + case ISD::FPOWI: return "fpowi"; case ISD::SETCC: return "setcc"; case ISD::VSETCC: return "vsetcc"; case ISD::SELECT: return "select"; |

