aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-09-01 17:27:58 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-09-01 17:27:58 +0000
commit8f43b86c52646711a6906e516e17b32224f1a104 (patch)
tree13baf7b6e69a4977400a8d88a7f8d42db353ad8b /lib/Target/Mips/MipsISelDAGToDAG.cpp
parent598082b1dd506ca0d6540f2bcaded867bfbf77af (diff)
downloadexternal_llvm-8f43b86c52646711a6906e516e17b32224f1a104.zip
external_llvm-8f43b86c52646711a6906e516e17b32224f1a104.tar.gz
external_llvm-8f43b86c52646711a6906e516e17b32224f1a104.tar.bz2
Reapply 80278
Add MO flags to simplify the printing of relocations. Remove the support for printing large code model relocs (which aren't supported anyway). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsISelDAGToDAG.cpp')
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp
index ca72ff0..f2dec31 100644
--- a/lib/Target/Mips/MipsISelDAGToDAG.cpp
+++ b/lib/Target/Mips/MipsISelDAGToDAG.cpp
@@ -322,7 +322,6 @@ SDNode* MipsDAGToDAGISel::Select(SDValue N) {
/// be loaded with 3 instructions.
case MipsISD::JmpLink: {
if (TM.getRelocationModel() == Reloc::PIC_) {
- //bool isCodeLarge = (TM.getCodeModel() == CodeModel::Large);
SDValue Chain = Node->getOperand(0);
SDValue Callee = Node->getOperand(1);
SDValue T9Reg = CurDAG->getRegister(Mips::T9, MVT::i32);