* config/mips/mips.c (mips_call_tls_get_addr): Don't claim that
the call uses the incoming value of $2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129481
138bc75d-0d04-0410-961f-
82ee72b054a4
2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk>
+ * config/mips/mips.c (mips_call_tls_get_addr): Don't claim that
+ the call uses the incoming value of $2.
+
+2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk>
+
* config/mips/mips.c (mips_call_tls_get_addr): Use gen_const_mem
rather then gen_rtx_MEM.
(mips_setup_incoming_varargs): Use gen_frame_mem rather than
tga = gen_const_mem (Pmode, mips_tls_symbol);
insn = emit_call_insn (gen_call_value (v0, tga, const0_rtx, const0_rtx));
CONST_OR_PURE_CALL_P (insn) = 1;
- use_reg (&CALL_INSN_FUNCTION_USAGE (insn), v0);
use_reg (&CALL_INSN_FUNCTION_USAGE (insn), a0);
insn = get_insns ();