From 378758560b4267ee5cd338d153ee3b93a7e16c3b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 18 Mar 2011 04:02:25 +0000 Subject: [PATCH] Revert the last change on cant_combine_insn_p. 2011-03-17 H.J. Lu PR middle-end/47725 * combine.c (cant_combine_insn_p): Don't check zero/sign extended hard registers. From-SVN: r171125 --- gcc/ChangeLog | 6 ++++++ gcc/combine.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81498ff4c96..b96cadb8b31 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-03-17 H.J. Lu + + PR middle-end/47725 + * combine.c (cant_combine_insn_p): Don't check zero/sign + extended hard registers. + 2011-03-17 H.J. Lu PR middle-end/47725 diff --git a/gcc/combine.c b/gcc/combine.c index 67aecf15100..f9d33b3d539 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -2137,12 +2137,6 @@ cant_combine_insn_p (rtx insn) return 0; src = SET_SRC (set); dest = SET_DEST (set); - if (GET_CODE (src) == ZERO_EXTEND - || GET_CODE (src) == SIGN_EXTEND) - src = XEXP (src, 0); - if (GET_CODE (dest) == ZERO_EXTEND - || GET_CODE (dest) == SIGN_EXTEND) - dest = XEXP (dest, 0); if (GET_CODE (src) == SUBREG) src = SUBREG_REG (src); if (GET_CODE (dest) == SUBREG) -- 2.30.2