[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:35 PDT 2024
================
@@ -47,7 +67,31 @@ loop:
br label %loop
}
-; Fold ADD but don't copy NUW if only one op has it.
+; Hoist MUL and drop NUW if both ops have it.
----------------
nikic wrote:
```suggestion
; Hoist MUL and drop NUW even if both ops have it.
```
https://github.com/llvm/llvm-project/pull/106991
More information about the llvm-commits
mailing list