This is the mail archive of the gcc-patches@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]

Re: [patch] Allow merging blocks with phi nodes


Hello,

> > New version of fold_stmt (fold_stmt_inplace) is necessary, since
> > fold_stmt may replace the whole statement, but we cannot get the pointer
> > to statement from immediate uses, only the statement itself.
> 
> Isn't that what bsi_for_stmt () is for?

bsi_for_stmt is slow at the moment (and fold_stmt does not do much more
than fold_stmt_inplace does, anyway).

Zdenek


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