[PATCH] D158983: [InstCombine] Fold two select patterns into or-and

Yingwei Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 07:52:28 PDT 2023


dtcxzyw marked an inline comment as done.
dtcxzyw added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/select-and-or.ll:697
+
+define i1 @or_and2_op1not(i1 %a, i1 %c) {
+; CHECK-LABEL: @or_and2_op1not(
----------------
nikic wrote:
> Is this supposed to be a commuted test? If so, put it next to the original test and make it `_commuted`.
I don't think commuted tests are necessary.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158983



More information about the llvm-commits mailing list