Friday, June 02, 2006

Critical Nasty Edges

Today I spent a very nice time trying to remove the critical edges from the control flow graph. Well, I can use the opt tool to remove these mischievous edges, but I could not make it automatic. When the hope is about to die, ask some LLVM guy... by the way:
opt -break-crit-edges < oldFile.bc > newFile.bc
llc -f -regalloc=simple Base1Sum.bc -o simple.s

0 Comments:

Post a Comment

<< Home