[llvm-dev] RFC: Memcpy inlining in IR

Amara Emerson via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 19 20:41:56 PDT 2019


Hi all,

For GlobalISel, we’re exploring options for implementing inlining optimizations for memcpy and friends. However, looking around the existing implementation, I don’t see anything that would particularly be problematic for us to do it at the IR level.

The existing TLI hooks to specify how certain memcpy calls should be lowered doesn’t have anything too SelectionDAG specific, and an IR lowering pass could be shared in future between SDAG and GISel. Does anyone see issues with this?

Thanks,
Amara


More information about the llvm-dev mailing list