[llvm] LICM: extend hoist BO assoc to mul case (PR #106991)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 05:10:34 PDT 2024
================
@@ -119,7 +211,31 @@ loop:
br label %loop
}
-; Don't fold if the ops are different (even if they are both associative).
+; Hoist MUL and drop NSW if both ops have it.
----------------
nikic wrote:
```suggestion
; Hoist MUL and drop NSW even if both ops have it.
```
https://github.com/llvm/llvm-project/pull/106991
More information about the llvm-commits
mailing list