[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 04:01:28 PDT 2025


nikic wrote:

It looks like this causes some large compile-time regressions during the clang build: https://llvm-compile-time-tracker.com/compare_clang.php?from=22fb21a64e1ca783fbde7d7d99735c2962f6fe34&to=74ec38fad0a1289f936e5388fa8bbe74653c55d9&stat=instructions%3Au&sortBy=interestingness

This seems to be related to code size increases: https://llvm-compile-time-tracker.com/compare_clang.php?from=22fb21a64e1ca783fbde7d7d99735c2962f6fe34&to=74ec38fad0a1289f936e5388fa8bbe74653c55d9&stat=size-file&sortBy=relative-difference

Can you please check what is going on there?

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


More information about the llvm-commits mailing list