diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-01-26 10:46:07 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-01-26 10:46:07 +0000 |
commit | 5b67a4f75fc87bf04a36439b36a17964be6acbd1 (patch) | |
tree | d618fbe104cc589a74fb2a55b67e0a8c39c5cdae /llvm/lib/Target/Mips/MipsAsmPrinter.cpp | |
parent | 77363965c0aa7946cfff61f4cb127c5d8ded6742 (diff) | |
download | bcm5719-llvm-5b67a4f75fc87bf04a36439b36a17964be6acbd1.tar.gz bcm5719-llvm-5b67a4f75fc87bf04a36439b36a17964be6acbd1.zip |
Revert "[mips] N64 static relocation model support"
This reverts commit r293164. There are multiple tests failing.
llvm-svn: 293170
Diffstat (limited to 'llvm/lib/Target/Mips/MipsAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp index 04c5d96673f..04d6529a073 100644 --- a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp @@ -574,8 +574,6 @@ void MipsAsmPrinter::printOperand(const MachineInstr *MI, int opNum, case MipsII::MO_GOT: O << "%got("; break; case MipsII::MO_ABS_HI: O << "%hi("; break; case MipsII::MO_ABS_LO: O << "%lo("; break; - case MipsII::MO_HIGHER: O << "%higher("; break; - case MipsII::MO_HIGHEST: O << "%highest(("; break; case MipsII::MO_TLSGD: O << "%tlsgd("; break; case MipsII::MO_GOTTPREL: O << "%gottprel("; break; case MipsII::MO_TPREL_HI: O << "%tprel_hi("; break; @@ -700,7 +698,7 @@ void MipsAsmPrinter::EmitStartOfAsmFile(Module &M) { // Ideally it should test for properties of the ABI and not the ABI // itself. // For the moment, I'm only correcting enough to make MIPS-IV work. - if (!isPositionIndependent() && STI.hasSym32()) + if (!isPositionIndependent() && !ABI.IsN64()) TS.emitDirectiveOptionPic0(); } |