[LLVMdev] delete/creates modules

Scott Michel scottm at aero.org
Tue Aug 28 20:09:50 PDT 2007


No, the CellSPU backend (still being written) merely generates code  
for the SPU. It's like a regular compiler. No extra module creation  
or destruction.

LLVM will need some work to create a single, unified executable or  
even JIT code for both the PPU and SPU at the same time.


-scooter

On Aug 13, 2007, at 12:24 PM, nico wrote:

>
> On Aug 13, 2007, at 9:11 PM, Chris Lattner wrote:
>
>> Nope, passes work within a module, they can't create/delete them.
>
> So there is no possibility to write a pass to arrange functions and
> globals in a different than the given way? No way to partition the
> structure new?
>
> I would really like to know how code is generated for heterogeneous
> architectures like Cell? I thought they use a kind of (module?)
> partition to difference between the parts that should be mapped on
> SPU and PPU ... :-(
>
> Time to think about again ;-)
> Nico
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list