--
ramana at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
Keywords|
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-05-31 07:22
---
I think we have enough passes already and should try to stuff this in cse.c and
fwprop.c. See PR middle-end/33699 for related issues.
--
ebotcazou at gcc dot gnu dot org changed:
What|Removed
--- Comment #4 from carrot at google dot com 2009-05-31 08:05 ---
(In reply to comment #3)
I think we have enough passes already and should try to stuff this in cse.c
and
fwprop.c. See PR middle-end/33699 for related issues.
It looks that patch solved some similar issues. But
--- Comment #1 from carrot at google dot com 2009-05-31 02:42 ---
Created an attachment (id=17940)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17940action=view)
test case to show the opportunity
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40314
--- Comment #2 from carrot at google dot com 2009-05-31 02:51 ---
There are a lot of such opportunities in mcf from SPEC CPU 2006.
One possible implementation is to add a pass before cse. In the new pass it
should detect insn patterns like:
(set r200 400) # 400 is