summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-11-07 12:02:59 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-11-07 12:02:59 +0000
commit4f1bedaa47f6eed23b4f315389244621dae3c97a (patch)
tree04c3df88e203c99ad9f1a72b5160cef01643bec0 /llvm/lib
parentcfad1e3fca7c8f575556b674ac7beaee91d6630d (diff)
downloadbcm5719-llvm-4f1bedaa47f6eed23b4f315389244621dae3c97a.tar.gz
bcm5719-llvm-4f1bedaa47f6eed23b4f315389244621dae3c97a.zip
[mips] Remove MipsCC::getRegVT(). NFC
Summary: It's no longer used. Reviewers: vmedic, theraven Reviewed By: theraven Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6112 llvm-svn: 221519
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp15
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.h7
2 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index e3f4b11e0c1..d82dc98dc9b 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -3634,21 +3634,6 @@ const ArrayRef<MCPhysReg> MipsTargetLowering::MipsCC::intArgRegs() const {
return makeArrayRef(Mips64IntRegs);
}
-MVT MipsTargetLowering::MipsCC::getRegVT(MVT VT, const Type *OrigTy,
- const SDNode *CallNode,
- bool IsSoftFloat) const {
- if (IsSoftFloat || Subtarget.isABI_O32())
- return VT;
-
- // Check if the original type was fp128.
- if (originalTypeIsF128(OrigTy, CallNode)) {
- assert(VT == MVT::i64);
- return MVT::f64;
- }
-
- return VT;
-}
-
void MipsTargetLowering::copyByValRegs(
SDValue Chain, SDLoc DL, std::vector<SDValue> &OutChains, SelectionDAG &DAG,
const ISD::ArgFlagsTy &Flags, SmallVectorImpl<SDValue> &InVals,
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h
index 12beb59fc4e..788b771bc12 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.h
+++ b/llvm/lib/Target/Mips/MipsISelLowering.h
@@ -371,13 +371,6 @@ namespace llvm {
const ArrayRef<MCPhysReg> intArgRegs() const;
private:
- /// Return the type of the register which is used to pass an argument or
- /// return a value. This function returns f64 if the argument is an i64
- /// value which has been generated as a result of softening an f128 value.
- /// Otherwise, it just returns VT.
- MVT getRegVT(MVT VT, const Type *OrigTy, const SDNode *CallNode,
- bool IsSoftFloat) const;
-
CallingConv::ID CallConv;
const MipsSubtarget &Subtarget;
};
OpenPOWER on IntegriCloud