aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-12-20 04:15:30 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-12-20 04:15:30 +0000
commit77e85f367c4f69fb95a88419aba1eef2cbab6800 (patch)
tree0be9e229cbf10655a83eb5b31d5a6560f5a1478f /lib/Target/Mips
parent5c5402564515ad87425af9881619545c096b84b9 (diff)
downloadexternal_llvm-77e85f367c4f69fb95a88419aba1eef2cbab6800.zip
external_llvm-77e85f367c4f69fb95a88419aba1eef2cbab6800.tar.gz
external_llvm-77e85f367c4f69fb95a88419aba1eef2cbab6800.tar.bz2
[mips] Delete definition of CPRESTORE instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r--lib/Target/Mips/MipsInstrInfo.td8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td
index 795859e..b1e63ab 100644
--- a/lib/Target/Mips/MipsInstrInfo.td
+++ b/lib/Target/Mips/MipsInstrInfo.td
@@ -850,14 +850,6 @@ def ADJCALLSTACKUP : MipsPseudo<(outs), (ins i32imm:$amt1, i32imm:$amt2),
[(callseq_end timm:$amt1, timm:$amt2)]>;
}
-// When handling PIC code the assembler needs .cpload and .cprestore
-// directives. If the real instructions corresponding these directives
-// are used, we have the same behavior, but get also a bunch of warnings
-// from the assembler.
-let neverHasSideEffects = 1 in
-def CPRESTORE : PseudoSE<(outs), (ins i32imm:$loc, CPURegs:$gp),
- ".cprestore\t$loc", []>;
-
let usesCustomInserter = 1 in {
defm ATOMIC_LOAD_ADD_I8 : Atomic2Ops32<atomic_load_add_8, "load_add_8">;
defm ATOMIC_LOAD_ADD_I16 : Atomic2Ops32<atomic_load_add_16, "load_add_16">;