summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2010-03-14 18:42:24 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2010-03-14 18:42:24 +0000
commit59e96008bd2d087606413c61c27caeb1fca84101 (patch)
treed19b5ea4f9f0afcc1b6c5f9daf13224ba7fb8c4a /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent39ed49df718af5a4a7617b2a1c4110a7be740fbf (diff)
downloadbcm5719-llvm-59e96008bd2d087606413c61c27caeb1fca84101.tar.gz
bcm5719-llvm-59e96008bd2d087606413c61c27caeb1fca84101.zip
Make default expansion for FP16 <-> FP32 nodes into libcalls
llvm-svn: 98501
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 1911103450a..90c196c8bc4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5665,6 +5665,8 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::FP_TO_SINT: return "fp_to_sint";
case ISD::FP_TO_UINT: return "fp_to_uint";
case ISD::BIT_CONVERT: return "bit_convert";
+ case ISD::FP16_TO_FP32: return "fp16_to_fp32";
+ case ISD::FP32_TO_FP16: return "fp32_to_fp16";
case ISD::CONVERT_RNDSAT: {
switch (cast<CvtRndSatSDNode>(this)->getCvtCode()) {
OpenPOWER on IntegriCloud