LegalizeFloatTypes.cpp (280031) | LegalizeFloatTypes.cpp (283526) |
---|---|
1//===-------- LegalizeFloatTypes.cpp - Legalization of float types --------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 644 unchanged lines hidden (view full) --- 653 } 654 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported XINT_TO_FP!"); 655 656 // Sign/zero extend the argument if the libcall takes a larger type. 657 SDValue Op = DAG.getNode(Signed ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND, dl, 658 NVT, N->getOperand(0)); 659 return TLI.makeLibCall(DAG, LC, 660 TLI.getTypeToTransformTo(*DAG.getContext(), RVT), | 1//===-------- LegalizeFloatTypes.cpp - Legalization of float types --------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 644 unchanged lines hidden (view full) --- 653 } 654 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported XINT_TO_FP!"); 655 656 // Sign/zero extend the argument if the libcall takes a larger type. 657 SDValue Op = DAG.getNode(Signed ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND, dl, 658 NVT, N->getOperand(0)); 659 return TLI.makeLibCall(DAG, LC, 660 TLI.getTypeToTransformTo(*DAG.getContext(), RVT), |
661 &Op, 1, false, dl).first; | 661 &Op, 1, Signed, dl).first; |
662} 663 664 665//===----------------------------------------------------------------------===// 666// Operand Float to Integer Conversion.. 667//===----------------------------------------------------------------------===// 668 669bool DAGTypeLegalizer::SoftenFloatOperand(SDNode *N, unsigned OpNo) { --- 912 unchanged lines hidden --- | 662} 663 664 665//===----------------------------------------------------------------------===// 666// Operand Float to Integer Conversion.. 667//===----------------------------------------------------------------------===// 668 669bool DAGTypeLegalizer::SoftenFloatOperand(SDNode *N, unsigned OpNo) { --- 912 unchanged lines hidden --- |