ree.c (add_removable_extension): Use reg_overlap_mentioned_p rather than testing hard register #s.
* ree.c (add_removable_extension): Use reg_overlap_mentioned_p rather than testing hard register #s. From-SVN: r231719
This commit is contained in:
parent
5563d5c09a
commit
60b5526fd6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-12-16 Jeff Law <law@redhat.com>
|
||||
|
||||
* ree.c (add_removable_extension): Use reg_overlap_mentioned_p
|
||||
rather than testing hard register #s.
|
||||
|
||||
2015-12-16 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* config/nvptx/nvptx.h (OUTGOING_STATIC_CHAIN_REGNUM): Remove.
|
||||
|
|
|
@ -1085,7 +1085,7 @@ add_removable_extension (const_rtx expr, rtx_insn *insn,
|
|||
code in combine_reaching_defs will handle that case correctly. */
|
||||
if ((HARD_REGNO_NREGS (REGNO (dest), mode)
|
||||
!= HARD_REGNO_NREGS (REGNO (reg), GET_MODE (reg)))
|
||||
&& REGNO (dest) == REGNO (reg))
|
||||
&& reg_overlap_mentioned_p (dest, reg))
|
||||
return;
|
||||
|
||||
/* Then add the candidate to the list and insert the reaching definitions
|
||||
|
|
Loading…
Add table
Reference in a new issue