[llvm] [X86] combineAdd - fold (add (sub (shl x, c), y), z) -> (sub (add (shl x, c), z), y) (PR #142734)

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 10:53:35 PDT 2025


mysterymath wrote:

> > Hey there! The Fuchsia team is seeing dramatic slowdowns on our Mac AArch64 toolchain builders, from 3.5 hours to a timeout hit at 5 hours. This is one of two plausible commits in the blamelist. It only seems to appear in our LTO 2-stage prod builds. We do build builtins for X86 and other platforms. Do you think something in this change could cause this kind of slowdown? We haven't been able to directly determine the culprit beyond a rough range.
> 
> Is it a slowdown or is the compiler hung?

It's difficult to tell at the moment; when our builders timeout we lose access to the ninja traces. I'm working on getting them back; I'll post back when I have more information.

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


More information about the llvm-commits mailing list