[LLVMdev] llvm.memcpy intrinsics.
andrewl at lenharth.org
Thu Jul 16 05:43:51 PDT 2009
You can leave a memcpy implementation in your .bc file so long as it
has the appropriate attributes so it doesn't get removed by dead code
elimination, you are fine. This problem also comes up in systems
without the standard library like OS kernels. Also, they need to have
the expected linkage (just saying...).
On Thu, Jul 16, 2009 at 1:43 AM, sanjiv gupta<sanjiv.gupta at microchip.com> wrote:
> clang generates llvm.memcpy.* intrinsics for our port.
> Now we are linking a .bc version of the standard library. Do we have to
> include a version of these intrinsics in the .bc librrary? If yes, do we
> have some already written version?
> Or do we have to leave them for llc to convert them in to memcpy and
> then provide an binary version of lib with these functions ?
> - Sanjiv
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev