Mill Computing, Inc. Forums The Mill Tools Compilers The Compiler Reply To: The Compiler

Post count: 1

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.


  • This reply was modified 9 years ago by  eddyb.