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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 02:41:32 PDT 2024


================
@@ -67,6 +110,31 @@ loop:
   br label %loop
 }
 
+
+; Hoist ADD and copy NUW even if both ops have it. Commutative version.
----------------
nikic wrote:

```suggestion
; Hoist ADD and copy NUW if both ops have it. Commutative version.
```

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


More information about the llvm-commits mailing list