diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 20:56:25 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 20:56:25 +0000 |
commit | 173192fa71a45ee87479c0eb7753bf116bce36b8 (patch) | |
tree | 9f8d693fc80e3d0715dc84375f32f302df9c220b /lib/Target/Mips/MipsLongBranch.cpp | |
parent | 986f29c7bac9957d5643e5eb4ce5e346872dc5b4 (diff) | |
download | external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.zip external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.gz external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.bz2 |
[mips] Delete MipsFunctionInfo::EmitNOAT. Unconditionally print directive
"set .noat" so that the assembler doesn't issue warnings when register $AT is
used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsLongBranch.cpp')
-rw-r--r-- | lib/Target/Mips/MipsLongBranch.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsLongBranch.cpp b/lib/Target/Mips/MipsLongBranch.cpp index b9dbd52..5d9f0cf 100644 --- a/lib/Target/Mips/MipsLongBranch.cpp +++ b/lib/Target/Mips/MipsLongBranch.cpp @@ -424,8 +424,6 @@ bool MipsLongBranch::runOnMachineFunction(MachineFunction &F) { // Compute basic block addresses. if (TM.getRelocationModel() == Reloc::PIC_) { - MF->getInfo<MipsFunctionInfo>()->setEmitNOAT(); - uint64_t Address = 0; for (I = MBBInfos.begin(); I != E; Address += I->Size, ++I) |