Re: Executing already executed optimization passes again

2011-03-21 Thread Niranjan Hasabnis
I knew that doing transformations at earlier stage would be cleaner solution. But, due to some reason, I'm not able to do it at earlier stages. But I was thinking that some optimizations such as CSE, loop optimizations, should be reusable, and hence was exploring the idea of using them after my tr

Re: Executing already executed optimization passes again

2011-03-18 Thread Paul Koning
I don't know the answer to your specific question, but I was wondering: if you think it is useful to do optimization again, I think that means that the transformations you have in mind should be done at an earlier stage. By the time you hit register allocation, it's almost too late for anything.