This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21694] Missed forwprop opportunity into COND_EXPR


------- Additional Comments From kazu at cs dot umass dot edu  2005-05-21 17:01 -------
(In reply to comment #2)
> There is a reason why forwprop does not do this, the SSA_NAME is used twice. 
If we run forwprop 
> before FRE, it will catch it in this

We are interested in the number of immediate uses of cond_4, not D.1240_3.
Since cond_4 is used only once, this optimization fits in the framework of
forwprop quite nicely.

I've got a patch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |kazu at cs dot umass dot edu
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21694


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]