[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
Fri Oct 9 14:30:51 PDT 2020


lebedev.ri added a comment.

Personally honestly i'm not so much not okay with doing this in SROA,
but it's that i'm uneasy about introduction of a new TTI dependency to some pass.
Because that implicitly changes it from being a target-independent pass
into being a cost-model driven transform, with rest of transforms
in the pass being "forgotten" to be costmodelled.


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