summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsISelLowering.h
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-04-07 17:25:05 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-04-07 17:25:05 +0000
commitf7e4388e3bdcad8956a6bb3b66aa39768e259ed3 (patch)
tree014f545fbf7bff54b86bd5eef5a5fed7b974f625 /llvm/lib/Target/Mips/MipsISelLowering.h
parentbfad55fbc0a112bdb70c984b227dd96a02731da1 (diff)
downloadbcm5719-llvm-f7e4388e3bdcad8956a6bb3b66aa39768e259ed3.tar.gz
bcm5719-llvm-f7e4388e3bdcad8956a6bb3b66aa39768e259ed3.zip
Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns"
This reverts commit r299766. This change appears to have broken the MIPS buildbots. Reverting while I investigate. Revert "[mips] Remove usage of debug only variable (NFC)" This reverts commit r299769. Follow up commit. llvm-svn: 299788
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.h')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h
index 0e47ed38f42..2dcafd51061 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.h
+++ b/llvm/lib/Target/Mips/MipsISelLowering.h
@@ -248,33 +248,6 @@ namespace llvm {
bool isCheapToSpeculateCttz() const override;
bool isCheapToSpeculateCtlz() const override;
- /// Return the register type for a given MVT, ensuring vectors are treated
- /// as a series of gpr sized integers.
- virtual MVT getRegisterTypeForCallingConv(MVT VT) const override;
-
- /// Return the register type for a given MVT, ensuring vectors are treated
- /// as a series of gpr sized integers.
- virtual MVT getRegisterTypeForCallingConv(LLVMContext &Context,
- EVT VT) const override;
-
- /// Return the number of registers for a given MVT, ensuring vectors are
- /// treated as a series of gpr sized integers.
- virtual unsigned getNumRegistersForCallingConv(LLVMContext &Context,
- EVT VT) const override;
-
- /// Break down vectors to the correct number of gpr sized integers.
- virtual unsigned getVectorTypeBreakdownForCallingConv(
- LLVMContext &Context, EVT VT, EVT &IntermediateVT,
- unsigned &NumIntermediates, MVT &RegisterVT) const override;
-
- /// Return the correct alignment for the current calling convention.
- virtual unsigned
- getABIAlignmentForCallingConv(Type *ArgTy, DataLayout DL) const override {
- if (ArgTy->isVectorTy())
- return std::min(DL.getABITypeAlignment(ArgTy), 8U);
- return DL.getABITypeAlignment(ArgTy);
- }
-
ISD::NodeType getExtendForAtomicOps() const override {
return ISD::SIGN_EXTEND;
}
OpenPOWER on IntegriCloud