[LLVMdev] alias analysis during code generation

Evan Cheng evan.cheng at apple.com
Thu Jan 17 15:17:23 PST 2008

On Jan 17, 2008, at 2:07 AM, Florian Brandner wrote:

> Pekka Jääskeläinen schrieb:
>> Is it somehow possible to use alias analyser data during code
>> generation, after instruction selection? I would need to run
>> the AA using MachineOperands, not Values. Is this in any way
>> in LLVM possible at the moment?
> i've been working on this (also because of a post-pass scheduler).
> i managed to hand the source values (values passed to the AA) over to
> the machine instruction level. unfortunately the "codegen prepare"  
> pass
> rewrites GEP llvm instructions and confuses the AA. some work needs to
> be done inside the AA to get reasonable results.
Right, currently AA information might get lost during translation from  
llvm to machineinstrs and during various passes that operate on them.  
This is not a hard problem, but very tedious.

> i did not have time to prepare and submit a patch for llvm.

It would be nice if you can contribute it back even if it's  
incomplete. :-)


> florian
> _______________________________________________
> 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