[llvm] [InstCombine] Resolve TODO: Remove one-time check if other logic operand (Y) is constant (PR #77973)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 20 09:41:08 PST 2024
================
@@ -240,6 +240,35 @@ define i32 @lshr_or_extra_use(i32 %x, i32 %y, ptr %p) {
ret i32 %sh1
}
+define i32 @lshr_or_extra_use_multiuse(i32 %x, ptr %p) {
----------------
nikic wrote:
```suggestion
define i32 @lshr_or_extra_use_shift(i32 %x, ptr %p) {
```
Or something. extra_use and multiuse are the same thing, so using both makes no sense.
https://github.com/llvm/llvm-project/pull/77973
More information about the llvm-commits
mailing list