summaryrefslogtreecommitdiffstats
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-26 14:55:37 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-26 14:55:37 +0000
commit011ea7b8e3578f64304596a5bdf4ddba44534e86 (patch)
treedb4293301b71d4308679247cdc600896820a00f2 /gcc/combine.c
parenta2d7a3ff6603a97188b69e3d64058f2093c43f71 (diff)
downloadppe42-gcc-011ea7b8e3578f64304596a5bdf4ddba44534e86.tar.gz
ppe42-gcc-011ea7b8e3578f64304596a5bdf4ddba44534e86.zip
PR middle-end/17151
* combine.c (force_to_mode): Remove dubious early return test that inhibits further optimization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88129 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index f0b5b0698dd..ad5ec6483a3 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -6904,11 +6904,6 @@ force_to_mode (rtx x, enum machine_mode mode, unsigned HOST_WIDE_INT mask,
&& (GET_MODE_MASK (GET_MODE (x)) & ~mask) == 0)
return gen_lowpart (mode, x);
- /* If we aren't changing the mode, X is not a SUBREG, and all zero bits in
- MASK are already known to be zero in X, we need not do anything. */
- if (GET_MODE (x) == mode && code != SUBREG && (~mask & nonzero) == 0)
- return x;
-
switch (code)
{
case CLOBBER:
OpenPOWER on IntegriCloud