diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-06-03 10:38:09 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-06-03 10:38:09 +0000 |
commit | 43750eab828f181294e14b9821e9152d75b2d1e6 (patch) | |
tree | 7339e6b8fb0f409bd2173048ca08a15169f5748a /llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp | |
parent | cdaf62684e8d63fb1d5cd772b7513908484f9235 (diff) | |
download | bcm5719-llvm-43750eab828f181294e14b9821e9152d75b2d1e6.tar.gz bcm5719-llvm-43750eab828f181294e14b9821e9152d75b2d1e6.zip |
[mips] EABI CodeGen is completely untested and seems to have bitrotted. Remove it.
Summary:
There are no tests*, no EABI buildbots, and simple test cases do not work.
* There is a single MIPS16 test using a mips*-gnueabi triple but this test
doesn't test EABI and the triple doesn't cause EABI to be used.
Reviewers: sdardis
Subscribers: tberghammer, danalbert, srhines, dsanders, sdardis, llvm-commits
Differential Revision: http://reviews.llvm.org/D20906
llvm-svn: 271658
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp index 97b24ede0cd..8164abf2238 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp +++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp @@ -42,7 +42,7 @@ ArrayRef<MCPhysReg> MipsABIInfo::GetVarArgRegs() const { unsigned MipsABIInfo::GetCalleeAllocdArgSizeInBytes(CallingConv::ID CC) const { if (IsO32()) return CC != CallingConv::Fast ? 16 : 0; - if (IsN32() || IsN64() || IsEABI()) + if (IsN32() || IsN64()) return 0; llvm_unreachable("Unhandled ABI"); } @@ -55,8 +55,6 @@ MipsABIInfo MipsABIInfo::computeTargetABI(const Triple &TT, StringRef CPU, return MipsABIInfo::N32(); else if (Options.getABIName().startswith("n64")) return MipsABIInfo::N64(); - else if (Options.getABIName().startswith("eabi")) - return MipsABIInfo::EABI(); else if (!Options.getABIName().empty()) llvm_unreachable("Unknown ABI option for MIPS"); |