diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-04-07 17:25:05 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-04-07 17:25:05 +0000 |
commit | f7e4388e3bdcad8956a6bb3b66aa39768e259ed3 (patch) | |
tree | 014f545fbf7bff54b86bd5eef5a5fed7b974f625 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | bfad55fbc0a112bdb70c984b227dd96a02731da1 (diff) | |
download | bcm5719-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/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index c9ecd8ae0f9..fc147633966 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -1616,10 +1616,8 @@ void llvm::GetReturnInfo(Type *ReturnType, AttributeList attr, VT = MinVT; } - unsigned NumParts = - TLI.getNumRegistersForCallingConv(ReturnType->getContext(), VT); - MVT PartVT = - TLI.getRegisterTypeForCallingConv(ReturnType->getContext(), VT); + unsigned NumParts = TLI.getNumRegisters(ReturnType->getContext(), VT); + MVT PartVT = TLI.getRegisterType(ReturnType->getContext(), VT); // 'inreg' on function refers to return value ISD::ArgFlagsTy Flags = ISD::ArgFlagsTy(); |