Sanjay Patel c65e651e60 [InstSimplify] fix logic fold of 'or' for vectors
Reduce code duplication for commutative pattern matching
and fix a miscompile.

We can't safely propagate an undef element in this transform:
https://alive2.llvm.org/ce/z/s5xy55
2021-12-05 09:57:07 -05:00
..
2021-10-06 12:31:25 -04:00
2021-08-22 09:15:48 -04:00
2021-10-05 18:07:57 +02:00
2021-09-29 13:03:12 -04:00