[LLVMdev] Where does llvm.memcpy.i64 and friends get lowered ?

Chris Lattner clattner at apple.com
Sat Jul 18 16:01:49 PDT 2009

On Jul 18, 2009, at 3:28 PM, Aaron Gray wrote:
> 2009/7/18 Chris Lattner <clattner at apple.com>
> On Jul 18, 2009, at 2:56 PM, Aaron Gray wrote:
>> I am iterating through Modules symbols for 'test/CodeGen/X86/ 
>> memcpy.bc
> If you're iterating over functions, just ignore all intrinsics.
> Okay, but it would be nice if the Module object reflected the  
> lowered symbol names like 'memcpy' too. It seems a bit of an  
> inconsistancy for the Module not to reference this and have to pick  
> it up from the relocations.

If you're iterating over the Module, you're not dealing with the  
codegen level.  We want the code generator to change as little as  
possible when doing codegen.

> Also there is the matter of 'abort' which seems to be defined by  
> most if not all modules even if it is not being used. I am using  
> GlobalValue::getUses() to filter it. Whats going on with 'abort' ?

I have no idea what you're talking about.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090718/e154d6e9/attachment.html>

More information about the llvm-dev mailing list