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 PR68030/PR69710][RFC]Introduce a simple local CSE interface and use it in vectorizer


On 06/06/2016 05:23 AM, Bin.Cheng wrote:

Hi Jeff,
What's your opinion on this (and how to extend it to a region based
interface)?  I will update this patch for further review if you are
okay.
I've never pondered how to revamp DOM into a regional interface (though I have pondered how to revamp the threading bits into a regional interface -- without any real success).

Conceptually I think it's just a matter of setting an entry block/edge, computing all blocks dominated by that entry block/edge and limiting the walker to only visiting blocks in that set. So the regional aspect would live in domwalk.[ch].

We'd probably want to avoid all the threading bits in a regional walk -- not because threading isn't useful, but sequencing the updates is a PITA and trying to do it in the middle of some other pass would just be a mess.

jeff


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