aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index d5b15cb..968e687 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -2478,12 +2478,6 @@ can_change_dest_mode (rtx x, int added_sets, machine_mode mode)
!= REGMODE_NATURAL_SIZE (GET_MODE (x)))
return false;
- /* Don't change between modes with different underlying register sizes,
- since this could lead to invalid subregs. */
- if (REGMODE_NATURAL_SIZE (mode)
- != REGMODE_NATURAL_SIZE (GET_MODE (x)))
- return false;
-
regno = REGNO (x);
/* Allow hard registers if the new mode is legal, and occupies no more
registers than the old mode. */