summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 54afcdd9ef0..fba491abc58 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -5912,9 +5912,7 @@ cse_insn (insn, libcall_insn)
/* Don't put a hard register source into the table if this is
the last insn of a libcall. In this case, we only need
to put src_eqv_elt in src_elt. */
- if (GET_CODE (src) != REG
- || REGNO (src) >= FIRST_PSEUDO_REGISTER
- || ! find_reg_note (insn, REG_RETVAL, NULL_RTX))
+ if (! find_reg_note (insn, REG_RETVAL, NULL_RTX))
{
struct table_elt *elt;