[PATCH] D134142: [InstSimplify] Fold `select C, not(C), C` to zero

Markus Böck via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 13:36:37 PDT 2022


zero9178 updated this revision to Diff 461096.
zero9178 added a comment.

Address review comments: Add test using vector types and a negative test with switched true false operands


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

https://reviews.llvm.org/D134142

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134142.461096.patch
Type: text/x-patch
Size: 3226 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220918/d626877c/attachment.bin>


More information about the llvm-commits mailing list