[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:39:50 PDT 2023


dtcxzyw added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/select-and-or.ll:629
+
+define i1 @or_and1_bundef(i1 %a, i1 noundef %b, i1 %c) {
+; CHECK-LABEL: @or_and1_bundef(
----------------
nikic wrote:
> noundef on b seems irrelevant, did you mean to put it on a?
These tests are based on and_or* series above.



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