rather than testing hard register #s.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231719
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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