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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 02:43:38 PST 2025


nikic 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.

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


More information about the llvm-commits mailing list