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.

Executing already executed optimization passes again

2011-03-18 Thread Niranjan Hasabnis
Hello, I'm using GCC plugin to do some analysis and modification on strict-RTL. Both things are done after all optimization passes are over, and just before strict-RTL is converted into assembly. I would be happy to know if it is possible to execute all already executed optimization passes again a