Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • eddyb
    Participant
    Post count: 1
    in reply to: The Compiler #1904

    Keep in mind that when dealing with LLVM IR, you already have to consider lowering its intrinsics [1] (though I believe you get some defaults like “llvm.memcpy” calling “memcpy”, if your target doesn’t do smarter lowering).
    Some intrinsics (“llvm.memcpy”, “llvm.memmove”, “llvm.memset” and possibly more) are automatically detected from naive loops and are also generated from compilers, e.g. for shallow copies.

    [1] http://llvm.org/docs/LangRef.html#standard-c-library-intrinsics

    • This reply was modified 9 years, 5 months ago by  eddyb.
Viewing 1 post (of 1 total)