[llvm] LICM: hoist BO assoc when (C1 op LV) op C2 (PR #106999)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 05:12:22 PDT 2024


nikic wrote:

You can just assert that the op is commutative (after the associativity check). In general, all associative ops we support are also commutative.

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


More information about the llvm-commits mailing list