From: Akira Hatanaka Date: Tue, 28 Feb 2012 03:18:43 +0000 (+0000) Subject: Add comments. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=980a9992383cde8fdc62323f1d8c5790e68b0828;p=oota-llvm.git Add comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index 7b3308b5825..dc60cf438ef 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -752,6 +752,10 @@ def CPRESTORE : MipsPseudo<(outs), (ins i32imm:$loc), ".cprestore\t$loc", []>; // instructions 0 and 1 in the sequence above during MC lowering. // SETGP2 is emitted just before register allocation and converted to // instruction 2 just prior to post-RA scheduling. +// +// These pseudo instructions are needed to ensure no instructions are inserted +// before or between instructions 0 and 1, which is a limitation imposed by +// GNU linker. def SETGP01 : MipsPseudo<(outs CPURegs:$dst), (ins), "", []>; def SETGP2 : MipsPseudo<(outs CPURegs:$globalreg), (ins CPURegs:$picreg), "",