[PATCH] D88893: [SROA] Only generate memcpy if the slices is large 'enough' (WIP).

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 07:13:08 PDT 2020


lebedev.ri added a comment.

This isn't really SROA specific is it?
Instcombine also expands small (16 bytes, hardcoded) memcpy's
I would think this should be done by some standalone pass, as a costmodel-driven optimization.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88893/new/

https://reviews.llvm.org/D88893



More information about the llvm-commits mailing list