[llvm] [LoopIdiom] Add a range attribute to formed memset/memcpy/memmove (PR #226801)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 09:04:55 PDT 2026


dtcxzyw wrote:

> Part 2 will prevent lowering a (non-constant) llvm.memset with a small upper bound into a memset libcall (expensive) and instead emit a branch or per-size branches instead (cheap).

Might be related to https://github.com/llvm/llvm-project/issues/106895


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


More information about the llvm-commits mailing list