[llvm] [SCEV] Fold (C * A /u C) -> A, if A is a multiple of C and C a pow-of-2. (PR #156730)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 06:46:07 PDT 2025


nikic wrote:

@fhahn Thanks for checking! Do you think it would make sense to upstream that noinline annotation? It looks like clang already uses LLVM_ATTRIBUTE_NOINLINE in various places to avoid excessive inlining.

Though this one isn't super terrible ("only" 0.4% of the binary size).

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


More information about the llvm-commits mailing list