summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit14f9ce0f83f1956667264a264d8f738f50926f3a (patch)
tree2c7e2c59f15e652edeba2f0c4c69bedb1c697542 /llvm/lib
parentc0ea0bb99bb7628a40bc64531535499bfd2c2d0e (diff)
downloadbcm5719-llvm-14f9ce0f83f1956667264a264d8f738f50926f3a.tar.gz
bcm5719-llvm-14f9ce0f83f1956667264a264d8f738f50926f3a.zip
[mips] Delete definition of CPRESTORE instruction.
llvm-svn: 170660
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsInstrInfo.td8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.td b/llvm/lib/Target/Mips/MipsInstrInfo.td
index 795859e0f93..b1e63abb37a 100644
--- a/llvm/lib/Target/Mips/MipsInstrInfo.td
+++ b/llvm/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">;
OpenPOWER on IntegriCloud