[llvm] [PatternMatch] Do not accept undef elements in m_AllOnes() and friends (PR #88217)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 00:45:11 PDT 2024


================
@@ -965,14 +965,29 @@ define <2 x i1> @substitute_constant_or_ne_slt_swap_vec(<2 x i8> %x, <2 x i8> %y
   ret <2 x i1> %r
 }
 
+; The poison case would be valid to fold.
----------------
dtcxzyw wrote:

```suggestion
; TODO: The poison case would be valid to fold.
```

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


More information about the llvm-commits mailing list