Sunday, July 09, 2006

Done with critical edges?

Ok, I think I am done with the remotion of critical edges. Well, semi-done, for I'm only removing the edges that are inserted during the dag selection phase. I think this is enough, for I am also using LLVM pass to break critical edges. My machine pass to break critical edges is given here: (cpp and h). The code is so simple... even though, it took me almost forever to figure it how to insert branches in basic blocks, or simply how to discover the end of a basic block. Now I think the code is working fine. But the compiler still has bugs :(

0 Comments:

Post a Comment

<< Home