[llvm] [LICM] Fold associative binary ops to promote code hoisting (PR #81608)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 19:04:05 PST 2024


chenzheng1030 wrote:

> @amy-kwan @chenzheng1030 Could you please have a look at the failing PowerPC tests below? I can make the transform more restrictive but I'd appreciate some feedback before doing so!
> 
> ```
>   LLVM :: CodeGen/PowerPC/common-chain.ll
>   LLVM :: CodeGen/PowerPC/p10-spill-crlt.ll
> ```

Would you please upload the diff for these two cases? They were both generated by scripts, so it should not be hard to update them. Thanks.

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


More information about the llvm-commits mailing list