[LLVMdev] Out of range address

Fernando Magno Quintao Pereira
Tue, 03 Oct 2006 18:47:02 -0000

Dear guys,

     I am having some problems when compiling huge programs (like gcc).
I have a machine pass to destroy critical edges, and I have to add
new basic blocks, but sometimes the program is too big, and the new
basic block gets out of addressing range. What is the proper way to
address this problem? I am producing code for the PowerPC, and I had
to implement the insert go-to method. I am adding:
BuildMI(MBB, MBB.end(), PPC::B, 1).addMBB(&TMBB);

Best,

Fernando