[llvm] [LoopIdiom] Perform loop versioning to use memcpy (PR #125043)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 04:47:58 PST 2025


kasuga-fj wrote:

> > Let me ask you a question. If we'd like to address the original issue, what should we do? Should we add a new pass that does versioning and place it in the after the inline module optimization pipeline?
>
> Basically yes. We'd have to run a LIR variant with enabled versioning in the module optimization pipeline.

I see. I don't have a good idea on how to achieve this at the moment, so I'll close this. Thanks for your comments.

https://github.com/llvm/llvm-project/pull/125043


More information about the llvm-commits mailing list