[PATCH] D138700: [InstSimplify] Fold (X || Y) ? false && X --> false

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 11:32:49 PST 2022


bcl5980 added inline comments.


================
Comment at: llvm/test/Transforms/InstSimplify/select-logical.ll:153
 
 define <3 x i1> @logical_not_or_and_vector1(<3 x i1> %x, <3 x i1> %y) {
 ; CHECK-LABEL: @logical_not_or_and_vector1(
----------------
spatel wrote:
> We need a test similar to this, but with poison elements.
@logical_not_or_and_vector1_poison should be the test you mentioned.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138700/new/

https://reviews.llvm.org/D138700



More information about the llvm-commits mailing list