[LLVMdev] Out of range address

Fernando Magno Quintao Pereira fernando at CS.UCLA.EDU
Tue Oct 3 11:47:02 PDT 2006


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



More information about the llvm-dev mailing list