[LLVMdev] LLVM Assembly Language Question

Jane Ren jren at cs.umd.edu
Wed Dec 14 08:29:42 PST 2011


No, sorry, I made some typos in my question.  I meant to ask

For the instructions generated by LLVM for one particular function, is it 
possible to have duplicated instructions?

Thanks

On Wed, 14 Dec 2011, Duncan Sands wrote:

> Hi Jane,
>
>> Hi, are the assembly instructions generated by LLVM for each function (and
>> not just for each BasicBlock) unique?  Thanks.
>
> are you asking if LLVM merges identical functions?  It does not (it does have
> an optional IR level pass for doing this though).
>
> Ciao, Duncan.
> _______________________________________________
> 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