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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 13:28:41 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/Transforms/InstSimplify/select.ll:1121
+  ret i1 %v
+}
----------------
please can you add vector test coverage? and possibly a negative test for the case where the true/false args are commuted?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134142



More information about the llvm-commits mailing list