projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85941a0
)
recog.c (split_all_insns): Run cleanup_subreg_operands after reload.
author
Richard Henderson
<rth@gcc.gnu.org>
Sat, 28 Oct 2000 21:43:29 +0000
(14:43 -0700)
committer
Richard Henderson
<rth@gcc.gnu.org>
Sat, 28 Oct 2000 21:43:29 +0000
(14:43 -0700)
* recog.c (split_all_insns): Run cleanup_subreg_operands
after reload.
From-SVN: r37110
gcc/recog.c
patch
|
blob
|
history
diff --git
a/gcc/recog.c
b/gcc/recog.c
index 9492180ba59cfbf09c4602b000ab341f636321b2..5c45cdb683e7c93a69eb958d3fa8125636e738a0 100644
(file)
--- a/
gcc/recog.c
+++ b/
gcc/recog.c
@@
-2757,6
+2757,19
@@
split_all_insns (upd_life)
bb->end = last;
break;
}
+
+ /* ??? Coddle to md files that generate subregs in post-
+ reload splitters instead of computing the proper
+ hard register. */
+ if (reload_completed)
+ while (1)
+ {
+ if (INSN_P (first))
+ cleanup_subreg_operands (first);
+ if (first == last)
+ break;
+ first = NEXT_INSN (first);
+ }
}
}